From ee24fadfff1ecd7dd676e2cadecddcaa872dbe57 Mon Sep 17 00:00:00 2001 From: barisusakli Date: Wed, 23 Sep 2015 09:45:48 -0400 Subject: [PATCH] closes https://github.com/julianlam/nodebb-plugin-markdown/issues/52 --- public/src/client/topic/events.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/public/src/client/topic/events.js b/public/src/client/topic/events.js index 99564cd50c..893a2cc9f6 100644 --- a/public/src/client/topic/events.js +++ b/public/src/client/topic/events.js @@ -115,6 +115,7 @@ define('forum/topic/events', [ editedPostEl.find('img:not(.not-responsive)').addClass('img-responsive'); app.replaceSelfLinks(editedPostEl.find('a')); editedPostEl.fadeIn(250); + $(window).trigger('action:posts.edited', data); }); var editData = { @@ -127,8 +128,6 @@ define('forum/topic/events', [ html = $(translated); editorEl.replaceWith(html); html.find('.timeago').timeago(); - - $(window).trigger('action:posts.edited', data); }); });