applying threshold detection only to topics

re: #4477
v1.18.x
Julian Lam 9 years ago
parent e0f6b4edf0
commit 31e70ac5a8

@ -119,7 +119,7 @@ define('navigator', ['forum/pagination', 'components'], function(pagination, com
});
// If a threshold is undefined, try to determine one based on new index
if (threshold === undefined) {
if (threshold === undefined && ajaxify.currentPage.startsWith('topic')) {
var anchorEl = components.get('post/anchor', index - 1),
anchorRect = anchorEl.get(0).getBoundingClientRect();

Loading…
Cancel
Save