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:
silver%warwickcompsoc.co.uk 2009-08-22 16:30:28 +00:00
parent 5a7bb67a4c
commit dbec563a1d

View File

@ -1494,3 +1494,7 @@ function strftime(format, time)
}
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() {};