mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-10 07:55:46 +01:00
fixed lock icon side
This commit is contained in:
@@ -108,9 +108,9 @@ define('forum/topic/threadTools', ['forum/topic/fork', 'forum/topic/move'], func
|
||||
$('.lock_thread').html(translated);
|
||||
});
|
||||
|
||||
threadEl.find('.post_reply').html(isLocked ? 'Locked <i class="fa fa-lock"></i>' : 'Reply <i class="fa fa-reply"></i>');
|
||||
threadEl.find('.post_reply').html(isLocked ? '<i class="fa fa-lock"></i> Locked' : '<i class="fa fa-reply"></i> Reply');
|
||||
threadEl.find('.quote, .edit, .delete').toggleClass('none', isLocked);
|
||||
$('.topic-main-buttons .post_reply').attr('disabled', isLocked).html(isLocked ? 'Locked <i class="fa fa-lock"></i>' : 'Reply');
|
||||
$('.topic-main-buttons .post_reply').attr('disabled', isLocked).html(isLocked ? '<i class="fa fa-lock"></i> Locked' : 'Reply');
|
||||
|
||||
ThreadTools.threadState.locked = data.isLocked;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user