diff options
| author | HJ <30-hj@users.noreply.git.pleroma.social> | 2019-06-18 17:49:43 +0000 |
|---|---|---|
| committer | HJ <30-hj@users.noreply.git.pleroma.social> | 2019-06-18 17:49:43 +0000 |
| commit | e5020d6936a9cdb960782d5f6caa77b93574b4a5 (patch) | |
| tree | 6f91bc5f89e0334ffff438572733b5956d42e30b /src | |
| parent | 5f4a8dcc05a0790d5ef17d3a2df3a65d260641ee (diff) | |
Update emoji-input.js
Diffstat (limited to 'src')
| -rw-r--r-- | src/components/emoji-input/emoji-input.js | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/components/emoji-input/emoji-input.js b/src/components/emoji-input/emoji-input.js index b79d11ca..08c2f60b 100644 --- a/src/components/emoji-input/emoji-input.js +++ b/src/components/emoji-input/emoji-input.js @@ -168,7 +168,7 @@ const EmojiInput = { } }, onTransition (e) { - this.resize(e) + this.resize() }, onBlur (e) { // Clicking on any suggestion removes focus from autocomplete, @@ -176,25 +176,25 @@ const EmojiInput = { setTimeout(() => { this.focused = false this.setCaret(e) - this.resize(e) + this.resize() }, 200) }, onFocus (e) { this.focused = true this.setCaret(e) - this.resize(e) + this.resize() }, onKeyUp (e) { this.setCaret(e) - this.resize(e) + this.resize() }, onPaste (e) { this.setCaret(e) - this.resize(e) + this.resize() }, onKeyDown (e) { this.setCaret(e) - this.resize(e) + this.resize() const { ctrlKey, shiftKey, key } = e if (key === 'Tab') { |
