#948: undo first attempt at fix

This commit is contained in:
gorhill 2015-11-20 00:43:02 -05:00
parent 5a63dc3184
commit 8110b9ae6f
1 changed files with 1 additions and 4 deletions

View File

@ -2240,10 +2240,7 @@ vAPI.net.registerListeners = function() {
var browser = e.target;
// I have seen this happens (at startup time)
// https://github.com/gorhill/uBlock/issues/948
// On older version of Firefox, `browser.webNavigation` can be null,
// which would cause currentURI to fail.
if ( !browser.webNavigation || !browser.currentURI ) {
if ( !browser.currentURI ) {
return;
}