mirror of
https://github.com/gorhill/uBlock.git
synced 2024-11-22 18:32:45 +01:00
code review
This commit is contained in:
parent
567b1007f8
commit
523ce7bfe0
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user