aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristof Musik2010-10-24 01:06:49 +0200
committerChristof Musik2010-10-24 01:06:49 +0200
commit780e1bf58ef09b5b4a7c9a0c3ad0c72a2265b39e (patch)
tree053b1ab54c1625eccff451871ffbd07fcdcd71a5
parent9232479ac78f295413802b1cc74f6b6056e0a814 (diff)
downloadvimium-780e1bf58ef09b5b4a7c9a0c3ad0c72a2265b39e.tar.bz2
fixed bug which showed help page on searching with /
-rw-r--r--lib/keyboardUtils.js2
1 files changed, 1 insertions, 1 deletions
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();