mirror of
https://github.com/discourse/discourse.git
synced 2025-06-04 11:11:13 +08:00
Use existing function.
This commit is contained in:
@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user