fix: use max

v1.18.x
Barış Soner Uşaklı 4 years ago
parent c30b40abe7
commit 0a471b76b5

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

Loading…
Cancel
Save