Commit 0c0b5fab authored by Fatih Acet's avatar Fatih Acet

IssueNotesRefactor: Render GFM again when a comment is edited.

parent d9bf04f6
...@@ -71,6 +71,7 @@ export default { ...@@ -71,6 +71,7 @@ export default {
this.$store.dispatch('updateNote', data) this.$store.dispatch('updateNote', data)
.then(() => { .then(() => {
this.isEditing = false; this.isEditing = false;
$(this.$refs['noteBody'].$el).renderGFM();
}) })
.catch(() => { .catch(() => {
new Flash('Something went wrong while editing your comment. Please try again.'); // eslint-disable-line new Flash('Something went wrong while editing your comment. Please try again.'); // eslint-disable-line
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment