bug 181586 - Ctrl+0 selects tenth tab instead of reverting to 100% zoom
git-svn-id: svn://10.0.0.236/trunk@134931 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
f409404ff2
commit
e84baf1353
@ -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…
x
Reference in New Issue
Block a user