mirror of
https://github.com/gorhill/uBlock.git
synced 2026-03-11 09:04:36 +00:00
minor code review
This commit is contained in:
parent
8d8905aab3
commit
4e747fd39e
1 changed files with 1 additions and 1 deletions
|
|
@ -2376,7 +2376,7 @@ vAPI.net.registerListeners = function() {
|
||||||
// https://github.com/uBlockOrigin/uAssets/issues/255
|
// https://github.com/uBlockOrigin/uAssets/issues/255
|
||||||
// Handle chained popups.
|
// Handle chained popups.
|
||||||
if ( openerTabId !== undefined ) {
|
if ( openerTabId !== undefined ) {
|
||||||
shouldLoadPopupListenerMap.set(target.currentURI.asciiSpec, openerTabId);
|
shouldLoadPopupListenerMap.set(popupURL, openerTabId);
|
||||||
shouldLoadPopupListenerMapToD = Date.now() + 10000;
|
shouldLoadPopupListenerMapToD = Date.now() + 10000;
|
||||||
vAPI.tabs.onPopupCreated(popupTabId, openerTabId);
|
vAPI.tabs.onPopupCreated(popupTabId, openerTabId);
|
||||||
return;
|
return;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue