From 957d303a0d7335f2156fd44c1260099ed7f64759 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrg=20Lehni?= Date: Sat, 2 Jan 2016 13:58:05 +0100 Subject: [PATCH] Make sure the key identifier is always lowercase. Relates to #881 --- src/event/Key.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/event/Key.js b/src/event/Key.js index 1cb1bf68..763f4cb8 100644 --- a/src/event/Key.js +++ b/src/event/Key.js @@ -170,7 +170,7 @@ var Key = new function() { // This shouldn't happen, but it does in Chrome on Ubuntu. // In these cases, character is actually the key we want! // See #881 - key = character; + key = character.toLowerCase(); } handleKey(true, key, character, event); downKey = null;