1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-07-08 04:49:12 +02:00

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

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