diff options
author | toasted-nutbread <toasted-nutbread@users.noreply.github.com> | 2021-03-02 18:18:31 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-02 18:18:31 -0500 |
commit | 571b865ae5207acb8e58a5ee38e4ed900194f7fb (patch) | |
tree | cd7cef51009739579d4547e357b3b2dbe16a8e81 /ext/js/display/search-display-controller.js | |
parent | 0e705292cc0c1196901e53670e7b89a70cc1556c (diff) |
Fix enter key causing duplicate text when typing using an IME (#1477)
Diffstat (limited to 'ext/js/display/search-display-controller.js')
-rw-r--r-- | ext/js/display/search-display-controller.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/js/display/search-display-controller.js b/ext/js/display/search-display-controller.js index bf75e928..cabdf1b2 100644 --- a/ext/js/display/search-display-controller.js +++ b/ext/js/display/search-display-controller.js @@ -171,6 +171,7 @@ class SearchDisplayController { } _onSearchKeydown(e) { + if (e.isComposing) { return; } const {code} = e; if (!((code === 'Enter' || code === 'NumpadEnter') && !e.shiftKey)) { return; } |