From e723aaa5f6715dffa36c8a5b3ff7434c502fefd2 Mon Sep 17 00:00:00 2001 From: Ghighi Eftimie Date: Sun, 11 Oct 2020 21:56:49 +0300 Subject: [PATCH] fix for history state (+1 not needed) --- cps/static/js/main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cps/static/js/main.js b/cps/static/js/main.js index ff9cac08..44a72b06 100644 --- a/cps/static/js/main.js +++ b/cps/static/js/main.js @@ -195,7 +195,7 @@ $(function() { $(this)[0].scrollHeight ) { $loadMore.infiniteScroll("loadNextPage"); - window.history.replaceState({}, null, $loadMore.infiniteScroll('getAbsolutePath')+1) + window.history.replaceState({}, null, $loadMore.infiniteScroll("getAbsolutePath")); } }); }