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_setup(fnActive, fnInactive) {
|
||||
var pagevis_setup = function(fnActive, fnInactive) {
|
||||
|
||||
var h, visibilityChange;
|
||||
if (typeof document.hidden !== "undefined") { // Opera 12.10 and Firefox 18 and later support
|
||||
@ -965,7 +965,7 @@ window.onload = function() {
|
||||
|
||||
tab_addHandlers();
|
||||
|
||||
pagevis_currently_visible(
|
||||
pagevis_setup(
|
||||
function() {
|
||||
// We've just become active
|
||||
// If the foreground is a PM window with UNREAD, mark it as read
|
||||
|
Loading…
Reference in New Issue
Block a user