fix for history state (+1 not needed)

This commit is contained in:
Ghighi Eftimie 2020-10-11 21:56:49 +03:00
parent f574f8faf0
commit e723aaa5f6

View File

@ -195,7 +195,7 @@ $(function() {
$(this)[0].scrollHeight $(this)[0].scrollHeight
) { ) {
$loadMore.infiniteScroll("loadNextPage"); $loadMore.infiniteScroll("loadNextPage");
window.history.replaceState({}, null, $loadMore.infiniteScroll('getAbsolutePath')+1) window.history.replaceState({}, null, $loadMore.infiniteScroll("getAbsolutePath"));
} }
}); });
} }