From 16b0bb124bb93860cd6dbba60e480d68ad623abc Mon Sep 17 00:00:00 2001 From: syuilo Date: Sun, 19 Feb 2017 07:51:51 +0900 Subject: [PATCH] [Client] Fix bug --- src/web/app/desktop/scripts/autocomplete.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/web/app/desktop/scripts/autocomplete.js b/src/web/app/desktop/scripts/autocomplete.js index a87a64418..d32d3d1a7 100644 --- a/src/web/app/desktop/scripts/autocomplete.js +++ b/src/web/app/desktop/scripts/autocomplete.js @@ -12,6 +12,10 @@ class Autocomplete { constructor(textarea) { this.suggestion = null; this.textarea = textarea; + + this.onInput = this.onInput.bind(this); + this.complete = this.complete.bind(this); + this.close = this.close.bind(this); } /**