From d43e71e891fb09fcc1068dd23bb28be4116e1b18 Mon Sep 17 00:00:00 2001 From: SHIMODA Hiroshi Date: Wed, 25 May 2011 12:29:01 +0900 Subject: [PATCH] middle click on the "Go" button was ignored wrongly. --- content/treestyletab/treestyletab.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/treestyletab/treestyletab.js b/content/treestyletab/treestyletab.js index c44fba4d..d2bdad71 100644 --- a/content/treestyletab/treestyletab.js +++ b/content/treestyletab/treestyletab.js @@ -1441,7 +1441,7 @@ var TreeStyleTabService = { Ci.nsIDOMXPathResult.BOOLEAN_TYPE ).booleanValue) this._handleNewTabCommand(this.browser.selectedTab, this.getTreePref('autoAttach.newTabButton')); - else if (aEvent.target.id == 'urlbar-go-button' && aEvent.target.id == 'go-button') + else if (aEvent.target.id == 'urlbar-go-button' || aEvent.target.id == 'go-button') this._handleNewTabCommand(this.browser.selectedTab, this.getTreePref('autoAttach.goButton')); },