mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-02 12:05:57 +01:00
when post is deleted or restored clear the post tools menu
This commit is contained in:
@@ -58,6 +58,8 @@ define('forum/topic/postTools', ['share', 'navigator', 'components', 'translator
|
||||
postEl.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) {
|
||||
|
||||
Reference in New Issue
Block a user