diff --git a/src/input/keyboard/KeyboardPlugin.js b/src/input/keyboard/KeyboardPlugin.js index d319864dd..7a3d1ca99 100644 --- a/src/input/keyboard/KeyboardPlugin.js +++ b/src/input/keyboard/KeyboardPlugin.js @@ -345,6 +345,7 @@ var KeyboardPlugin = new Class({ for (var i = 0; i < keys.length; i++) { var currentKey = keys[i].trim(); + if (currentKey) { output[currentKey] = this.addKey(currentKey);