Skip to content

Commit e9b2cd1

Browse files
committed
Allow input history to go forwards again to the empty field
1 parent 5d59a5b commit e9b2cd1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎src/controllers/molecules/MessageComposer.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ module.exports = {
106106
// show the message
107107
this.element.value = this.data[this.position];
108108
}
109-
else if (this.originalText) {
109+
else if (this.originalText !== undefined) {
110110
// restore the original text the user was typing.
111111
this.element.value = this.originalText;
112112
}

0 commit comments

Comments
 (0)