From 093ea72f20e918d0ea8dd127fd48ef1adc429106 Mon Sep 17 00:00:00 2001 From: Santhosh Thottingal Date: Mon, 24 Dec 2012 20:06:01 +0530 Subject: [PATCH] (bug 43382) Alt+shortcut key does not work in Chrome/Linux For chrome in linux, the shortcut keys given are ALT+[KEY]. This works, but fails for keys like E, F, D etc. ALT+E or ALT+F opens the settings menu, ALT+D highlights URL. To make it work always with all keys , it should be presented as ALT+SHIF+[KEY] as done for Windows. Change-Id: I87a9d498ac99d381c31c94b03d6cc72fa265e839 --- resources/mediawiki/mediawiki.util.js | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/resources/mediawiki/mediawiki.util.js b/resources/mediawiki/mediawiki.util.js index 05ffcc0ba3..9b2faa815d 100644 --- a/resources/mediawiki/mediawiki.util.js +++ b/resources/mediawiki/mediawiki.util.js @@ -28,13 +28,10 @@ profile.platform === 'mac' // Chrome on Mac ? 'ctrl-option-' - : profile.platform === 'win' - // Chrome on Windows - // (both alt- and alt-shift work, but alt-f triggers Chrome wrench menu - // which alt-shift-f does not) - ? 'alt-shift-' - // Chrome on other (Ubuntu?) - : 'alt-' + // Chrome on Windows or Linux + // (both alt- and alt-shift work, but alt with E, D, F etc does not + // work since they are browser shortcuts) + : 'alt-shift-' ); // Non-Windows Safari with webkit_version > 526 -- 2.20.1