Fix lint errors [MAILPOET-971]

This commit is contained in:
stoletniy
2017-06-29 16:45:12 +03:00
parent 04e238634d
commit b823991867

View File

@ -122,7 +122,7 @@ define([
_loadMorePosts: function() {
var that = this,
postCount = this.get('_availablePosts').length,
nextOffset = this.get('offset') + ~~this.get('amount');
nextOffset = this.get('offset') + Number(this.get('amount'));
if(postCount === 0 || postCount < nextOffset) {
// No more posts to load