1
0
mirror of https://github.com/janeczku/calibre-web synced 2024-11-28 12:30:00 +00:00

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"));
} }
}); });
} }