Allow input history to go forwards again to the empty field

This commit is contained in:
David Baker 2015-07-20 10:05:53 -07:00
parent 5d59a5b297
commit e9b2cd1364
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}