middle click on the "Go" button was ignored wrongly.

This commit is contained in:
SHIMODA Hiroshi 2011-05-25 12:29:01 +09:00
parent eadab87664
commit d43e71e891

View File

@ -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'));
},