mirror of
https://github.com/gorhill/uBlock.git
synced 2024-11-17 07:52:42 +01:00
Safari: fix to potential false-positive popup blocks
This commit is contained in:
parent
6e317fff59
commit
4e4a44d87b
@ -262,6 +262,7 @@
|
|||||||
if(vAPI.tabs.onPopup(details)) {
|
if(vAPI.tabs.onPopup(details)) {
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
if(vAPI.tabs.stack[details.openerTabId]) {
|
if(vAPI.tabs.stack[details.openerTabId]) {
|
||||||
|
vAPI.tabs.popupCandidate = false;
|
||||||
vAPI.tabs.stack[details.openerTabId].activate();
|
vAPI.tabs.stack[details.openerTabId].activate();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user