mirror of
https://github.com/gorhill/uBlock.git
synced 2024-11-16 23:42:39 +01:00
Fixes #1398
This commit is contained in:
parent
8d0ce5f9d5
commit
51042f8f70
@ -870,9 +870,10 @@
|
|||||||
broadcast: true,
|
broadcast: true,
|
||||||
msg: message
|
msg: message
|
||||||
};
|
};
|
||||||
|
var page;
|
||||||
for(var tabId in vAPI.tabs.stack) {
|
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
Block a user