From 0486f857d3449af22dc579cf53f8f688ed145a0a Mon Sep 17 00:00:00 2001 From: "smontagu%smontagu.org" Date: Sun, 16 Jan 2005 18:25:41 +0000 Subject: [PATCH] only command+numbers should switch tabs (control + number key switches tab instead of activating accesskey). Bug 265711, patch by Asaf Romano , r=mconnor. --- browser/base/content/browser.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/browser/base/content/browser.js b/browser/base/content/browser.js index 19568fc0fa6..8dfb963fb88 100644 --- a/browser/base/content/browser.js +++ b/browser/base/content/browser.js @@ -1045,10 +1045,12 @@ function ctrlNumberTabSelection(event) #ifdef XP_MACOSX if (!event.metaKey) -#elifdef XP_UNIX +#else +#ifdef XP_UNIX if (!event.altKey) #else if (!event.ctrlKey) +#endif #endif return;