Clearing out uneeded code

This commit is contained in:
Francisco Hodge 2018-10-06 02:26:22 -04:00
parent cbfba64447
commit 24de8bcb20

View File

@ -57,7 +57,7 @@ class SimpleKeyboard {
handleButtonClicked = (button) => { handleButtonClicked = (button) => {
let debug = this.options.debug; let debug = this.options.debug;
/** /**
* Ignoring placeholder buttons * Ignoring placeholder buttons
*/ */
@ -69,13 +69,6 @@ class SimpleKeyboard {
*/ */
if(typeof this.options.onKeyPress === "function") if(typeof this.options.onKeyPress === "function")
this.options.onKeyPress(button); this.options.onKeyPress(button);
/**
* Updating input
*/
let options = {
newLineOnEnter: (this.options.newLineOnEnter === true)
}
if(!this.input[this.options.inputName]) if(!this.input[this.options.inputName])
this.input[this.options.inputName] = ''; this.input[this.options.inputName] = '';