"event." is required
This commit is contained in:
parent
3e4cbe02c7
commit
80b64709c7
@ -174,7 +174,7 @@ function onItemClick(aEvent)
|
|||||||
|
|
||||||
if (isMiddleClick)
|
if (isMiddleClick)
|
||||||
gBrowser.removeTab(tab);
|
gBrowser.removeTab(tab);
|
||||||
else if (button != 2)
|
else if (event.button != 2)
|
||||||
gBrowser.selectedTab = tab;
|
gBrowser.selectedTab = tab;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -178,7 +178,7 @@ FullTooltipManager.prototype = {
|
|||||||
|
|
||||||
if (isMiddleClick)
|
if (isMiddleClick)
|
||||||
this.owner.browser.removeTab(tab);
|
this.owner.browser.removeTab(tab);
|
||||||
else if (button != 2)
|
else if (event.button != 2)
|
||||||
this.owner.browser.selectedTab = tab;
|
this.owner.browser.selectedTab = tab;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user