mirror of
https://github.com/gorhill/uBlock.git
synced 2026-03-11 09:04:36 +00:00
code review
This commit is contained in:
parent
567b1007f8
commit
523ce7bfe0
1 changed files with 1 additions and 1 deletions
|
|
@ -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 a new issue