diff options
author | gorhill <rhill@raymondhill.net> | 2015-11-20 00:43:02 -0500 |
---|---|---|
committer | gorhill <rhill@raymondhill.net> | 2015-11-20 00:43:02 -0500 |
commit | 8110b9ae6fd93c2186c50197babfc306c6d5d24e (patch) | |
tree | 4510afca9b5dc8873d58f07b0229abf0f3a6fe08 | |
parent | 5a63dc3184837001b49df6f09ee3041fa9c29ce3 (diff) |
#948: undo first attempt at fix
-rw-r--r-- | platform/firefox/vapi-background.js | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/platform/firefox/vapi-background.js b/platform/firefox/vapi-background.js index c7c7be0a..c9f970df 100644 --- a/platform/firefox/vapi-background.js +++ b/platform/firefox/vapi-background.js @@ -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; } |