From 523ce7bfe0b1147fb20d1de3ad52ccc5d9e78a79 Mon Sep 17 00:00:00 2001 From: gorhill Date: Thu, 22 Oct 2015 07:22:18 -0400 Subject: [PATCH] code review --- platform/firefox/vapi-background.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform/firefox/vapi-background.js b/platform/firefox/vapi-background.js index 4e2ad5d0a..fd683c29c 100644 --- a/platform/firefox/vapi-background.js +++ b/platform/firefox/vapi-background.js @@ -2831,7 +2831,7 @@ vAPI.toolbarButton = { var wId = tbb.id; var buttonInPanel = CustomizableUI.getWidget(wId).areaType === CustomizableUI.TYPE_MENU_PANEL; - for ( var win of vAPI.tabs.getWindows() ) { + for ( var win of winWatcher.getWindows() ) { var button = win.document.getElementById(wId); if ( button === null ) { continue;