1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-07-08 04:49:12 +02:00

#948: undo first attempt at fix

This commit is contained in:
gorhill 2015-11-20 00:43:02 -05:00
parent 5a63dc3184
commit 8110b9ae6f

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;
}