Node.js based forum software built for the modern web
closes #6644
Barış Soner Uşaklıec33a12dadce
diff --git a/public/src/client/topic/events.js b/public/src/client/topic/events.jsindex ac4c41e96b..544d8039a6 100644--- a/public/src/client/topic/events.js+++ b/public/src/client/topic/events.js@@ -159,6 +159,8 @@ define('forum/topic/events', [});});}++ postTools.removeMenu(components.get('post', 'pid', data.post.pid));}function tagsUpdated(tags) {diff --git a/public/src/client/topic/postTools.js b/public/src/client/topic/postTools.jsindex 1ad284c144..1608811166 100644--- a/public/src/client/topic/postTools.js+++ b/public/src/client/topic/postTools.js@@ -66,6 +66,10 @@ define('forum/topic/postTools', [postEl.find('[component="post/restore"]').toggleClass('hidden', !isDeleted);postEl.find('[component="post/purge"]').toggleClass('hidden', !isDeleted);+ PostTools.removeMenu(postEl);+ };++ PostTools.removeMenu = function (postEl) {postEl.find('[component="post/tools"] .dropdown-menu').html('');};