ESlint no-mixed-operators

This commit is contained in:
Peter Jaszkowiak
2017-02-18 01:51:11 -07:00
parent 2e031f3759
commit a5a3f3089a
22 changed files with 25 additions and 23 deletions

View File

@@ -87,7 +87,7 @@ categoryController.get = function (req, res, callback) {
set = 'cid:' + cid + ':tids:posts';
}
var start = (currentPage - 1) * settings.topicsPerPage + topicIndex;
var start = ((currentPage - 1) * settings.topicsPerPage) + topicIndex;
var stop = start + settings.topicsPerPage - 1;
var payload = {