mirror of https://github.com/gorhill/uBlock.git
Fixes #1398
This commit is contained in:
parent
8d0ce5f9d5
commit
51042f8f70
|
@ -870,9 +870,10 @@
|
|||
broadcast: true,
|
||||
msg: message
|
||||
};
|
||||
|
||||
var page;
|
||||
for(var tabId in vAPI.tabs.stack) {
|
||||
vAPI.tabs.stack[tabId].page.dispatchMessage('broadcast', message);
|
||||
page = vAPI.tabs.stack[tabId].page;
|
||||
page && page.dispatchMessage && page.dispatchMessage('broadcast', message);
|
||||
}
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue