From e01013d4185dbdd3fa49eda07de66328e0c16e61 Mon Sep 17 00:00:00 2001 From: Richard Davey Date: Wed, 12 Sep 2018 01:03:41 +0100 Subject: [PATCH] Formatting --- src/input/keyboard/KeyboardPlugin.js | 1 + 1 file changed, 1 insertion(+) 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);