summaryrefslogtreecommitdiff
path: root/src/web/app/desktop/scripts
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2017-02-19 07:51:51 +0900
committersyuilo <syuilotan@yahoo.co.jp>2017-02-19 07:51:51 +0900
commit16b0bb124bb93860cd6dbba60e480d68ad623abc (patch)
treece727e60aea38d6f6a930f26d8a8bc0176f6d969 /src/web/app/desktop/scripts
parenttypo (diff)
downloadsharkey-16b0bb124bb93860cd6dbba60e480d68ad623abc.tar.gz
sharkey-16b0bb124bb93860cd6dbba60e480d68ad623abc.tar.bz2
sharkey-16b0bb124bb93860cd6dbba60e480d68ad623abc.zip
[Client] Fix bug
Diffstat (limited to 'src/web/app/desktop/scripts')
-rw-r--r--src/web/app/desktop/scripts/autocomplete.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/web/app/desktop/scripts/autocomplete.js b/src/web/app/desktop/scripts/autocomplete.js
index a87a64418e..d32d3d1a73 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);
}
/**