From 01354b5c30e61e1e1b661a182715981a55dd0ca7 Mon Sep 17 00:00:00 2001 From: Guo Xiang Tan Date: Thu, 13 Aug 2015 17:56:57 +0800 Subject: [PATCH] Remove unused code. --- app/assets/javascripts/discourse/models/composer.js.es6 | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/app/assets/javascripts/discourse/models/composer.js.es6 b/app/assets/javascripts/discourse/models/composer.js.es6 index e58f62362ea..7f23460eb8d 100644 --- a/app/assets/javascripts/discourse/models/composer.js.es6 +++ b/app/assets/javascripts/discourse/models/composer.js.es6 @@ -369,9 +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.tested) { - opts.tested = true; + (opts.action !== this.get('action') || ((opts.reply || opts.action === this.EDIT) && this.get('reply') !== this.get('originalText')))) { return; }