mirror of
https://github.com/gorhill/uBlock.git
synced 2024-09-01 16:49:39 +02:00
#948: undo first attempt at fix
This commit is contained in:
parent
5a63dc3184
commit
8110b9ae6f
@ -2240,10 +2240,7 @@ vAPI.net.registerListeners = function() {
|
|||||||
var browser = e.target;
|
var browser = e.target;
|
||||||
|
|
||||||
// I have seen this happens (at startup time)
|
// I have seen this happens (at startup time)
|
||||||
// https://github.com/gorhill/uBlock/issues/948
|
if ( !browser.currentURI ) {
|
||||||
// On older version of Firefox, `browser.webNavigation` can be null,
|
|
||||||
// which would cause currentURI to fail.
|
|
||||||
if ( !browser.webNavigation || !browser.currentURI ) {
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user