mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-02 10:00:54 +00:00
bug 181586 - Ctrl+0 selects tenth tab instead of reverting to 100% zoom
This commit is contained in:
parent
e81d7b47ff
commit
23b8aa3b0e
@ -498,9 +498,7 @@ function ctrlNumberTabSelection(event)
|
||||
return;
|
||||
|
||||
var index = event.charCode - 49;
|
||||
if (index == -1)
|
||||
index = 9;
|
||||
if (index < 0 || index > 9)
|
||||
if (index < 0 || index > 8)
|
||||
return;
|
||||
|
||||
if (index >= gBrowser.mTabContainer.childNodes.length)
|
||||
|
Loading…
Reference in New Issue
Block a user