Node.js based forum software built for the modern web
fixes topics going to the bottom
barisusakli1e3577afe5fd
diff --git a/public/src/forum/category.js b/public/src/forum/category.jsindex e834156a3a..0d31b23bd2 100644--- a/public/src/forum/category.js+++ b/public/src/forum/category.js@@ -191,7 +191,8 @@ define(['composer', 'forum/pagination', 'share', 'navigator', 'forum/categoryTooif (numTopics > 0) {for (var x = 0; x < numTopics; x++) {- if ($(topics[x]).find('.fa-thumb-tack').length) {+ var pin = $(topics[x]).find('.fa-thumb-tack');+ if (pin.length && !pin.hasClass('hide')) {if(x === numTopics - 1) {topic.insertAfter(topics[x]);}