client: fixes for previous
This commit is contained in:
parent
0951bf821e
commit
ef9057383d
@ -400,7 +400,7 @@ var submit = function() {
|
|||||||
|
|
||||||
var pagevis_currently_visible = true;
|
var pagevis_currently_visible = true;
|
||||||
|
|
||||||
var pagevis_setup(fnActive, fnInactive) {
|
var pagevis_setup = function(fnActive, fnInactive) {
|
||||||
|
|
||||||
var h, visibilityChange;
|
var h, visibilityChange;
|
||||||
if (typeof document.hidden !== "undefined") { // Opera 12.10 and Firefox 18 and later support
|
if (typeof document.hidden !== "undefined") { // Opera 12.10 and Firefox 18 and later support
|
||||||
@ -965,7 +965,7 @@ window.onload = function() {
|
|||||||
|
|
||||||
tab_addHandlers();
|
tab_addHandlers();
|
||||||
|
|
||||||
pagevis_currently_visible(
|
pagevis_setup(
|
||||||
function() {
|
function() {
|
||||||
// We've just become active
|
// We've just become active
|
||||||
// If the foreground is a PM window with UNREAD, mark it as read
|
// If the foreground is a PM window with UNREAD, mark it as read
|
||||||
|
Loading…
Reference in New Issue
Block a user