From 24de8bcb200b241fec32f1dddc3c6dd1e3626c0d Mon Sep 17 00:00:00 2001 From: Francisco Hodge Date: Sat, 6 Oct 2018 02:26:22 -0400 Subject: [PATCH] Clearing out uneeded code --- src/lib/components/Keyboard.js | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/src/lib/components/Keyboard.js b/src/lib/components/Keyboard.js index 1bb77a1e..7384145f 100644 --- a/src/lib/components/Keyboard.js +++ b/src/lib/components/Keyboard.js @@ -57,7 +57,7 @@ class SimpleKeyboard { handleButtonClicked = (button) => { let debug = this.options.debug; - + /** * Ignoring placeholder buttons */ @@ -69,13 +69,6 @@ class SimpleKeyboard { */ if(typeof this.options.onKeyPress === "function") this.options.onKeyPress(button); - - /** - * Updating input - */ - let options = { - newLineOnEnter: (this.options.newLineOnEnter === true) - } if(!this.input[this.options.inputName]) this.input[this.options.inputName] = '';