From e9b2cd136440e04f391cd9f8fbb288d9a18791a4 Mon Sep 17 00:00:00 2001 From: David Baker Date: Mon, 20 Jul 2015 10:05:53 -0700 Subject: [PATCH] Allow input history to go forwards again to the empty field --- src/controllers/molecules/MessageComposer.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/controllers/molecules/MessageComposer.js b/src/controllers/molecules/MessageComposer.js index 0fa8066595..a9de008d6f 100644 --- a/src/controllers/molecules/MessageComposer.js +++ b/src/controllers/molecules/MessageComposer.js @@ -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; }