diff options
author | Fatih Acet <acetfatih@gmail.com> | 2017-08-21 22:16:41 +0300 |
---|---|---|
committer | Fatih Acet <acetfatih@gmail.com> | 2017-08-21 22:16:41 +0300 |
commit | 806c3063672793365c337be2cf4f8c55a20165c4 (patch) | |
tree | 425ed603dbac17a8234c9013eed240825b44e0d0 /app/assets/javascripts/notes | |
parent | 48acfb5c058df92e419a4012c4a2effff9f5ddfa (diff) |
IssueNotesRefactor: Fix GFM rendering after edits come in.
Diffstat (limited to 'app/assets/javascripts/notes')
-rw-r--r-- | app/assets/javascripts/notes/components/issue_note_body.vue | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/app/assets/javascripts/notes/components/issue_note_body.vue b/app/assets/javascripts/notes/components/issue_note_body.vue index ec7ed4690ee..5f9003bfd87 100644 --- a/app/assets/javascripts/notes/components/issue_note_body.vue +++ b/app/assets/javascripts/notes/components/issue_note_body.vue @@ -59,12 +59,15 @@ mounted() { this.renderGFM(); this.initTaskList(); + if (this.isEditing) { this.initAutoSave(); } }, updated() { this.initTaskList(); + this.renderGFM(); + if (this.isEditing) { if (!this.autosave) { this.initAutoSave(); |