mirror of
https://github.com/vector-im/element-web.git
synced 2024-11-16 21:24:59 +08:00
Allow input history to go forwards again to the empty field
This commit is contained in:
parent
5d59a5b297
commit
e9b2cd1364
@ -106,7 +106,7 @@ module.exports = {
|
||||
// show the message
|
||||
this.element.value = this.data[this.position];
|
||||
}
|
||||
else if (this.originalText) {
|
||||
else if (this.originalText !== undefined) {
|
||||
// restore the original text the user was typing.
|
||||
this.element.value = this.originalText;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user