keyboard: Fix JS warning

The solution is pointed out by the warning itself.
This commit is contained in:
Carlos Garnacho 2019-01-21 21:40:10 +01:00 committed by Florian Müllner
parent ace44af815
commit 545d49c70d

View File

@ -278,7 +278,7 @@ var Key = class Key {
}
_getKeyval(key) {
let unicode = String.charCodeAt(key, 0);
let unicode = key.charCodeAt(0);
return Clutter.unicode_to_keysym(unicode);
}