From c487c88f7434c337bae00f54473040cc03d51cf5 Mon Sep 17 00:00:00 2001 From: "dean_tessman%hotmail.com" Date: Sat, 7 Dec 2002 03:33:54 +0000 Subject: [PATCH] bug 181586 - Ctrl+0 selects tenth tab instead of reverting to 100% zoom --- browser/base/content/browser.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/browser/base/content/browser.js b/browser/base/content/browser.js index 99d3b233bd6..ae8b63bd6af 100644 --- a/browser/base/content/browser.js +++ b/browser/base/content/browser.js @@ -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)