This commit is contained in:
gorhill 2017-01-07 10:50:53 -05:00
parent 30e02a7250
commit 6175a216b7
1 changed files with 1 additions and 1 deletions

View File

@ -584,7 +584,7 @@ vAPI.tabs.onPopupUpdated = (function() {
if ( openerHostname !== '' ) { if ( openerHostname !== '' ) {
// Check per-site switch first // Check per-site switch first
if ( µb.hnSwitches.evaluateZ('no-popups', openerHostname) ) { if ( µb.hnSwitches.evaluateZ('no-popups', openerHostname) ) {
if ( typeof clickedURL !== 'string' || areDifferentURLs(targetURL, clickedURL) ) { if ( typeof clickedURL === 'string' && areDifferentURLs(targetURL, clickedURL) ) {
return 'ub:no-popups: ' + µb.hnSwitches.z + ' true'; return 'ub:no-popups: ' + µb.hnSwitches.z + ' true';
} }
} }