Skip to content
This repository has been archived by the owner on Apr 2, 2019. It is now read-only.

Commit

Permalink
Don't use deprecated for-each-in
Browse files Browse the repository at this point in the history
  • Loading branch information
wagnerand committed Nov 22, 2016
1 parent af539a1 commit 37e71a6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -204,8 +204,8 @@ function clearCompatibilityReport(guid, worker)
// catch case when addons manager is open during install
function reloadAllAddonsManagerTabs()
{
for each (var window in windows.browserWindows)
for each (var tab in window.tabs)
for (let win of windows.browserWindows)
for (let tab of win.tabs)
if (tab.url == "about:addons")
tab.reload();
}
Expand Down

0 comments on commit 37e71a6

Please sign in to comment.