From 3ef66b1dca388e0919028654db3a63c6ca30ae64 Mon Sep 17 00:00:00 2001 From: Guo Xiang Tan Date: Thu, 13 Aug 2015 18:26:06 +0800 Subject: [PATCH] Use existing function. --- app/assets/javascripts/discourse/models/composer.js.es6 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/assets/javascripts/discourse/models/composer.js.es6 b/app/assets/javascripts/discourse/models/composer.js.es6 index 7f23460eb8d..d0bc215627b 100644 --- a/app/assets/javascripts/discourse/models/composer.js.es6 +++ b/app/assets/javascripts/discourse/models/composer.js.es6 @@ -369,7 +369,7 @@ const Composer = RestModel.extend({ const composer = this; if (!replyBlank && - (opts.action !== this.get('action') || ((opts.reply || opts.action === this.EDIT) && this.get('reply') !== this.get('originalText')))) { + (opts.action !== this.get('action') || ((opts.reply || opts.action === this.EDIT) && this.get('replyDirty')))) { return; }