fix: #10068, update data-index values after sort

isekai-main
Barış Soner Uşaklı 3 years ago
parent 9af2335134
commit 236d4e8056

@ -299,6 +299,9 @@ define('forum/category/tools', [
if (err) {
return alerts.error(err);
}
topicListEl.find('[component="category/topic"].pinned').each((index, el) => {
$(el).attr('data-index', baseIndex + index);
});
});
},
});

Loading…
Cancel
Save