1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-11-23 02:42:41 +01:00

minor code review

This commit is contained in:
gorhill 2017-01-07 10:58:25 -05:00
parent 8d8905aab3
commit 4e747fd39e

View File

@ -2376,7 +2376,7 @@ vAPI.net.registerListeners = function() {
// https://github.com/uBlockOrigin/uAssets/issues/255
// Handle chained popups.
if ( openerTabId !== undefined ) {
shouldLoadPopupListenerMap.set(target.currentURI.asciiSpec, openerTabId);
shouldLoadPopupListenerMap.set(popupURL, openerTabId);
shouldLoadPopupListenerMapToD = Date.now() + 10000;
vAPI.tabs.onPopupCreated(popupTabId, openerTabId);
return;