fix: keep 60 topics minimum on topic list

This commit is contained in:
Barış Soner Uşaklı
2021-01-13 11:35:18 -05:00
parent 77ab46686d
commit c30b40abe7

View File

@@ -247,7 +247,7 @@ define('topicList', [
} }
if (!topicSelect.getSelectedTids().length) { if (!topicSelect.getSelectedTids().length) {
infinitescroll.removeExtra(topicListEl.find('[component="category/topic"]'), direction, config.topicsPerPage * 3); infinitescroll.removeExtra(topicListEl.find('[component="category/topic"]'), direction, 60);
} }
html.find('.timeago').timeago(); html.find('.timeago').timeago();