From 780e1bf58ef09b5b4a7c9a0c3ad0c72a2265b39e Mon Sep 17 00:00:00 2001 From: Christof Musik Date: Sun, 24 Oct 2010 01:06:49 +0200 Subject: fixed bug which showed help page on searching with / --- lib/keyboardUtils.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/keyboardUtils.js b/lib/keyboardUtils.js index 98725d95..fe3dcd59 100644 --- a/lib/keyboardUtils.js +++ b/lib/keyboardUtils.js @@ -44,7 +44,7 @@ function getKeyChar(event) { // https://bugs.webkit.org/show_bug.cgi?id=19906 for more details. if ((platform == "Windows" || platform == "Linux") && keyIdentifierCorrectionMap[keyIdentifier]) { correctedIdentifiers = keyIdentifierCorrectionMap[keyIdentifier]; - keyIdentifier = event.shiftKey ? correctedIdentifiers[1] : correctedIdentifiers[0]; + keyIdentifier = event.shiftKey ? correctedIdentifiers[0] : correctedIdentifiers[1]; } var unicodeKeyInHex = "0x" + keyIdentifier.substring(2); return String.fromCharCode(parseInt(unicodeKeyInHex)).toLowerCase(); -- cgit v1.2.3