Fixed getInput output when inputName is passed

This commit is contained in:
Francisco Hodge 2019-03-07 20:52:40 -05:00
parent bd0274415b
commit 6208d5f7e1

View File

@ -319,7 +319,7 @@ class SimpleKeyboard {
*/ */
if (this.options.syncInstanceInputs) this.syncInstanceInputs(this.input); if (this.options.syncInstanceInputs) this.syncInstanceInputs(this.input);
return this.input[this.options.inputName]; return this.input[inputName];
} }
/** /**