mirror of https://github.com/gorhill/uBlock.git
minor code review
This commit is contained in:
parent
8d8905aab3
commit
4e747fd39e
|
@ -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 New Issue