mirror of https://github.com/gorhill/uBlock.git
#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