Bug 500944 - Manually ensure window.getAttention() is defined (which it isn't when loaded in a tab!) so we don't have weird issues when run in-a-tab.
ChatZilla only. r=gijs git-svn-id: svn://10.0.0.236/trunk@258201 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
5a7bb67a4c
commit
dbec563a1d
@ -1494,3 +1494,7 @@ function strftime(format, time)
|
|||||||
}
|
}
|
||||||
return format.replace(/%%/, "%");
|
return format.replace(/%%/, "%");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// No-op window.getAttention if it's not found, this is for in-a-tab mode.
|
||||||
|
if (typeof getAttention == "undefined")
|
||||||
|
getAttention = function() {};
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user