mirror of
https://github.com/janeczku/calibre-web
synced 2024-11-24 18:47:23 +00:00
natural solution, pagination is changing on new page
This commit is contained in:
parent
9adcfa99f4
commit
2ff286b672
@ -183,7 +183,9 @@ $(function() {
|
||||
//extraScrollPx: 300
|
||||
});
|
||||
$loadMore.on( "append.infiniteScroll", function( event, response, path, data ) {
|
||||
$(".pagination").addClass("hidden");
|
||||
if ($("body").hasClass("blur")) {
|
||||
$(".pagination").addClass("hidden").html(() => $(response).find(".pagination").html());
|
||||
}
|
||||
$(".load-more .row").isotope( "appended", $(data), null );
|
||||
});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user