From 33d1cc6d0f849a165e268517d4e2a15cee3d282b Mon Sep 17 00:00:00 2001 From: Julian Lam Date: Fri, 10 Mar 2017 15:56:45 -0500 Subject: [PATCH] replace erroring line with operator-assignment --- src/socket.io/topics/infinitescroll.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/socket.io/topics/infinitescroll.js b/src/socket.io/topics/infinitescroll.js index cf7c37e050..753b050699 100644 --- a/src/socket.io/topics/infinitescroll.js +++ b/src/socket.io/topics/infinitescroll.js @@ -49,7 +49,7 @@ module.exports = function (SocketTopics) { } else if (reverse) { start = results.topic.postcount - start - infScrollPostsPerPage; } else { - start = start - infScrollPostsPerPage; + start -= infScrollPostsPerPage; } var stop = start + (infScrollPostsPerPage);