Resize editable-text after Esc pressed
This commit is contained in:
parent
b2eed77914
commit
c16a2d4b05
1 changed files with 1 additions and 1 deletions
|
@ -165,7 +165,7 @@
|
|||
}
|
||||
}
|
||||
else if (event.key === 'Escape') {
|
||||
this._input.value = this._input.dataset.initialValue;
|
||||
this._input.value = this.value = this._input.dataset.initialValue;
|
||||
this._input.blur();
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue