diff options
| author | Christof Musik | 2010-10-24 01:06:49 +0200 |
|---|---|---|
| committer | Christof Musik | 2010-10-24 01:06:49 +0200 |
| commit | 780e1bf58ef09b5b4a7c9a0c3ad0c72a2265b39e (patch) | |
| tree | 053b1ab54c1625eccff451871ffbd07fcdcd71a5 | |
| parent | 9232479ac78f295413802b1cc74f6b6056e0a814 (diff) | |
| download | vimium-780e1bf58ef09b5b4a7c9a0c3ad0c72a2265b39e.tar.bz2 | |
fixed bug which showed help page on searching with /
| -rw-r--r-- | lib/keyboardUtils.js | 2 |
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(); |
