mirror of https://github.com/gorhill/uBlock.git
Fix potentially missing context in logger for `popup` entries
Reported internally.
This commit is contained in:
parent
8e810832ba
commit
b053477087
|
@ -343,7 +343,7 @@
|
|||
fctxt.setURL(targetURL)
|
||||
.setTabId(openerTabId)
|
||||
.setTabOriginFromURL(rootOpenerURL)
|
||||
.setDocOriginFromURL(localOpenerURL);
|
||||
.setDocOriginFromURL(localOpenerURL || rootOpenerURL);
|
||||
} else {
|
||||
fctxt.setURL(rootOpenerURL)
|
||||
.setTabId(targetTabId)
|
||||
|
|
Loading…
Reference in New Issue