mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-01-05 23:30:36 +01:00
closes #6644
This commit is contained in:
@@ -159,6 +159,8 @@ define('forum/topic/events', [
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
postTools.removeMenu(components.get('post', 'pid', data.post.pid));
|
||||
}
|
||||
|
||||
function tagsUpdated(tags) {
|
||||
|
||||
@@ -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('');
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user