diff --git a/platform/firefox/vapi-background.js b/platform/firefox/vapi-background.js index b5f5124e4..bbb6ebc3e 100644 --- a/platform/firefox/vapi-background.js +++ b/platform/firefox/vapi-background.js @@ -714,7 +714,6 @@ vAPI.noTabId = '-1'; vAPI.tabs = {}; - /******************************************************************************/ vAPI.tabs.registerListeners = function() { @@ -848,11 +847,6 @@ vAPI.tabs.open = function(details) { continue; } - // Or simply .equals if we care about the fragment - if ( URI.equalsExceptRef(browser.currentURI) === false ) { - continue; - } - this.select(tab); // Update URL if fragment is different diff --git a/src/js/tab.js b/src/js/tab.js index 085804db5..b4b1cc93f 100644 --- a/src/js/tab.js +++ b/src/js/tab.js @@ -253,7 +253,7 @@ housekeep itself. } this.stack.push(new StackEntry(url)); this.update(); - if ( this.commitTimer === null ) { + if ( this.commitTimer !== null ) { clearTimeout(this.commitTimer); } this.commitTimer = vAPI.setTimeout(this.onCommit.bind(this), 1000);