minor code review

This commit is contained in:
gorhill 2017-01-07 10:58:25 -05:00
parent 8d8905aab3
commit 4e747fd39e
1 changed files with 1 additions and 1 deletions

View File

@ -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;