mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-07 06:25:50 +01:00
fixed index to int
This commit is contained in:
@@ -949,7 +949,7 @@ define(function() {
|
|||||||
|
|
||||||
socket.emit('api:topic.loadMore', {
|
socket.emit('api:topic.loadMore', {
|
||||||
tid: tid,
|
tid: tid,
|
||||||
after: $('#post-container .post-row.infiniteloaded').last().attr('data-index') + 1
|
after: parseInt($('#post-container .post-row.infiniteloaded').last().attr('data-index'), 10) + 1
|
||||||
}, function (data) {
|
}, function (data) {
|
||||||
infiniteLoaderActive = false;
|
infiniteLoaderActive = false;
|
||||||
if (data.posts.length) {
|
if (data.posts.length) {
|
||||||
|
|||||||
Reference in New Issue
Block a user