From 0fd6d9d7dca2e530f8532eba370c74cde891c825 Mon Sep 17 00:00:00 2001 From: Dhruv Yadav Date: Thu, 30 Aug 2018 21:58:54 +0530 Subject: [PATCH] Fixed a trailing spaces issue from the addKey(string) whitespace update --- src/input/keyboard/KeyboardPlugin.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/input/keyboard/KeyboardPlugin.js b/src/input/keyboard/KeyboardPlugin.js index 70ec6df6f..d319864dd 100644 --- a/src/input/keyboard/KeyboardPlugin.js +++ b/src/input/keyboard/KeyboardPlugin.js @@ -345,7 +345,7 @@ var KeyboardPlugin = new Class({ for (var i = 0; i < keys.length; i++) { var currentKey = keys[i].trim(); - if (currentKey) + if (currentKey) { output[currentKey] = this.addKey(currentKey); }