mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-24 10:45:42 +00:00
bug 62199 r=bzbarsky sr=blake
JS Strict warning in tasksOverlay.js
This commit is contained in:
parent
38fa493de2
commit
2facc9f27d
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user