|
|
@ -191,7 +191,8 @@ define(['composer', 'forum/pagination', 'share', 'navigator', 'forum/categoryToo
|
|
|
|
|
|
|
|
|
|
|
|
if (numTopics > 0) {
|
|
|
|
if (numTopics > 0) {
|
|
|
|
for (var x = 0; x < numTopics; x++) {
|
|
|
|
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) {
|
|
|
|
if(x === numTopics - 1) {
|
|
|
|
topic.insertAfter(topics[x]);
|
|
|
|
topic.insertAfter(topics[x]);
|
|
|
|
}
|
|
|
|
}
|
|
|
|