diff options
| author | Alex Kovar | 2010-10-30 17:29:21 -0500 | 
|---|---|---|
| committer | Alex Kovar | 2010-10-30 17:29:21 -0500 | 
| commit | 51d08f17f40d5da07d49b424b3ec94d17dc59cf0 (patch) | |
| tree | e32cdac63546d3c6e9b5131f0949943a9e3030be /lib | |
| parent | 8feb7df5e4185e2f28262a3524f7fb3d9b1e470d (diff) | |
| parent | 7df813ef221be04e4d4a459ecc941dcbddfb6056 (diff) | |
| download | vimium-51d08f17f40d5da07d49b424b3ec94d17dc59cf0.tar.bz2 | |
Merge branch 'master' of http://github.com/philc/vimium
Diffstat (limited to 'lib')
| -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 60eb487f..5b8b4c84 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();  | 
