Bug 284379: Enabling middlemouse.contentLoadURL and middle clicking a tab should still close tab, patch by Adam Guthrie <ispiked@gmail.com>, r=rob_strong
git-svn-id: svn://10.0.0.236/trunk@186199 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
27fadfad5d
commit
7af7af822c
@ -755,8 +755,7 @@
|
||||
<parameter name="event"/>
|
||||
<body>
|
||||
<![CDATA[
|
||||
if (event.button != 1 || event.target.localName != 'tab' ||
|
||||
this.mPrefs.getBoolPref("middlemouse.contentLoadURL"))
|
||||
if (event.button != 1 || event.target.localName != 'tab')
|
||||
return;
|
||||
|
||||
this.removeTab(event.target);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user