mirror of
https://github.com/JonathanHerrewijnen/calibre-web.git
synced 2024-11-13 06:34:26 +00:00
Pagination button disapears in standard theme once infinite scroll is triggered
This commit is contained in:
parent
652d0fd86f
commit
028e6855a7
@ -381,8 +381,8 @@ $(function() {
|
|||||||
//extraScrollPx: 300
|
//extraScrollPx: 300
|
||||||
});
|
});
|
||||||
$loadMore.on( "append.infiniteScroll", function( event, response, path, data ) {
|
$loadMore.on( "append.infiniteScroll", function( event, response, path, data ) {
|
||||||
|
$(".pagination").addClass("hidden").html(() => $(response).find(".pagination").html());
|
||||||
if ($("body").hasClass("blur")) {
|
if ($("body").hasClass("blur")) {
|
||||||
$(".pagination").addClass("hidden").html(() => $(response).find(".pagination").html());
|
|
||||||
$(" a:not(.dropdown-toggle) ")
|
$(" a:not(.dropdown-toggle) ")
|
||||||
.removeAttr("data-toggle");
|
.removeAttr("data-toggle");
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user