mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-01 03:26:04 +01:00
removed some possibly antiquated privs code
This commit is contained in:
@@ -174,8 +174,7 @@ define('forum/topic/posts', [
|
||||
if (!privileges.move) {
|
||||
postEl.find('.move, [component="post/move"]').remove();
|
||||
}
|
||||
|
||||
postEl.find('.reply, .quote').toggleClass('hidden', !$('.post_reply, [component="post/reply"]').length);
|
||||
|
||||
postEl.find('.chat, .flag, [component="user/chat"], [component="post/flag"]').toggleClass('hidden', isSelfPost || !app.user.uid);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user