Node.js based forum software built for the modern web
when post is deleted or restored clear the post tools menu
barisusaklif6bec561bf9c
diff --git a/public/src/client/topic/postTools.js b/public/src/client/topic/postTools.jsindex 6c2cebc8bd..71df716198 100644--- a/public/src/client/topic/postTools.js+++ b/public/src/client/topic/postTools.js@@ -58,6 +58,8 @@ define('forum/topic/postTools', ['share', 'navigator', 'components', 'translatorpostEl.find('[component="post/delete"]').toggleClass('hidden', isDeleted);postEl.find('[component="post/restore"]').toggleClass('hidden', !isDeleted);postEl.find('[component="post/purge"]').toggleClass('hidden', !isDeleted);++ postEl.find('.dropdown-menu').html('');};PostTools.updatePostCount = function(postCount) {