Make sure the key identifier is always lowercase.

Relates to #881
This commit is contained in:
Jürg Lehni 2016-01-02 13:58:05 +01:00
parent afffdfdddd
commit 957d303a0d

View file

@ -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;