From 95d6240b21c233f478f8f0ba41db65ffaef7c18b Mon Sep 17 00:00:00 2001 From: gorhill Date: Sun, 14 Feb 2016 10:55:23 -0500 Subject: [PATCH] this fixes #1378: there may be no "clicked URL" (regression) --- src/js/tab.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/js/tab.js b/src/js/tab.js index 9885a3deb..ddd01eb19 100644 --- a/src/js/tab.js +++ b/src/js/tab.js @@ -561,6 +561,7 @@ vAPI.tabs.onPopupUpdated = (function() { // Check user switch first if ( popupType !== 'popunder' && + clickedURL !== '' && areDifferentURLs(targetURL, clickedURL) && µb.hnSwitches.evaluateZ('no-popups', openerHostname) ) {