summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--platform/firefox/vapi-background.js5
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;
}