1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-11-01 16:33:06 +01:00

Fix potentially missing context in logger for popup entries

Reported internally.
This commit is contained in:
Raymond Hill 2020-12-26 10:15:07 -05:00
parent 8e810832ba
commit b053477087
No known key found for this signature in database
GPG Key ID: 25E1490B761470C2

View File

@ -343,7 +343,7 @@
fctxt.setURL(targetURL)
.setTabId(openerTabId)
.setTabOriginFromURL(rootOpenerURL)
.setDocOriginFromURL(localOpenerURL);
.setDocOriginFromURL(localOpenerURL || rootOpenerURL);
} else {
fctxt.setURL(rootOpenerURL)
.setTabId(targetTabId)