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
|
// show the message
|
||||||
this.element.value = this.data[this.position];
|
this.element.value = this.data[this.position];
|
||||||
}
|
}
|
||||||
else if (this.originalText) {
|
else if (this.originalText !== undefined) {
|
||||||
// restore the original text the user was typing.
|
// restore the original text the user was typing.
|
||||||
this.element.value = this.originalText;
|
this.element.value = this.originalText;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue