mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-03 12:36:02 +01:00
Squashed commit of the following:
commit 7bd46afad7033a466626826d3e29610f41328510 Author: Julian Lam <julian@nodebb.org> Date: Thu Mar 15 15:41:36 2018 -0400 fixes #6363 commit 4b755d5801b2f6d70cea10516f88392708c72f61 Author: Julian Lam <julian@nodebb.org> Date: Thu Mar 15 15:24:12 2018 -0400 fixes #6362 commit 6035e75453a08aee0fef7ff59d57dd5c1e8f4ac9 Author: Julian Lam <julian@nodebb.org> Date: Thu Mar 15 15:07:23 2018 -0400 Fixes #6361
This commit is contained in:
@@ -219,7 +219,7 @@ define('forum/topic/posts', [
|
||||
Posts._infiniteScrollTimeout = setTimeout(function () {
|
||||
delete Posts._infiniteScrollTimeout;
|
||||
}, 1000);
|
||||
var replies = components.get('post').not('[data-index=0]').not('.new');
|
||||
var replies = components.get('topic').find(components.get('post').not('[data-index=0]').not('.new'));
|
||||
var afterEl = direction > 0 ? replies.last() : replies.first();
|
||||
var after = parseInt(afterEl.attr('data-index'), 10) || 0;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user