mirror of
https://github.com/xvvvyz/tilde.git
synced 2026-03-11 14:44:24 +00:00
small optimization
This commit is contained in:
parent
f7379c8651
commit
512924af69
1 changed files with 1 additions and 1 deletions
|
|
@ -704,7 +704,7 @@
|
|||
_handleKeyup(event) {
|
||||
const oldVal = this._inputElVal;
|
||||
const newVal = this._inputEl.value.trim();
|
||||
this._inputElVal = this._inputEl.value;
|
||||
this._inputElVal = newVal;
|
||||
|
||||
if (CONFIG.suggestions && oldVal !== newVal) {
|
||||
this._suggester.suggest(newVal, this._submitWithValue);
|
||||
|
|
|
|||
Loading…
Reference in a new issue