this fixes #1378: there may be no "clicked URL" (regression)

This commit is contained in:
gorhill 2016-02-14 10:55:23 -05:00
parent 1a127881ef
commit 95d6240b21
1 changed files with 1 additions and 0 deletions

View File

@ -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)
) {