Skip to content

Node.js based forum software built for the modern web

fixed lock icon side

barisusaklif4dfae7fcb03
diff --git a/public/src/forum/topic/threadTools.js b/public/src/forum/topic/threadTools.js
index 3b81bffef0..c463aae2d4 100644
--- a/public/src/forum/topic/threadTools.js
+++ b/public/src/forum/topic/threadTools.js
@@ -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;
}