bug 62199 r=bzbarsky sr=blake

JS Strict warning in tasksOverlay.js
This commit is contained in:
cbiesinger%web.de 2006-07-29 05:40:17 +00:00
parent 38fa493de2
commit 2facc9f27d

View File

@ -222,7 +222,8 @@ function checkFocusedWindow()
var windowManagerInterface = windowManager.QueryInterface(Components.interfaces.nsIWindowMediator);
var sep = document.getElementById("sep-window-list");
while (sep = sep.nextSibling) {
// Using double parens to avoid warning
while ((sep = sep.nextSibling)) {
var url = sep.getAttribute('id');
var win = windowManagerInterface.getWindowForResource(url);
if (win == window) {