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

This commit is contained in:
Barış Soner Uşaklı
2021-12-08 11:16:49 -05:00
parent 9af2335134
commit 236d4e8056

View File

@@ -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);
});
});
},
});