mirror of
https://github.com/janeczku/calibre-web
synced 2024-12-26 01:50:31 +00:00
Fixed book details not loading after infinite scroll
This commit is contained in:
parent
f637ba4dad
commit
710c31d1ca
@ -316,6 +316,8 @@ $(function() {
|
|||||||
$loadMore.on( "append.infiniteScroll", function( event, response, path, data ) {
|
$loadMore.on( "append.infiniteScroll", function( event, response, path, data ) {
|
||||||
if ($("body").hasClass("blur")) {
|
if ($("body").hasClass("blur")) {
|
||||||
$(".pagination").addClass("hidden").html(() => $(response).find(".pagination").html());
|
$(".pagination").addClass("hidden").html(() => $(response).find(".pagination").html());
|
||||||
|
$(" a:not(.dropdown-toggle) ")
|
||||||
|
.removeAttr("data-toggle");
|
||||||
}
|
}
|
||||||
$(".load-more .row").isotope( "appended", $(data), null );
|
$(".load-more .row").isotope( "appended", $(data), null );
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user