mirror of
https://github.com/janeczku/calibre-web
synced 2026-10-16 13:01:40 +00:00
Fix for row display in caliblur
This commit is contained in:
@@ -384,14 +384,14 @@ $(function() {
|
||||
});
|
||||
}
|
||||
|
||||
$(".discover .row").isotope({
|
||||
$(".discover .row.display-flex").isotope({
|
||||
// options
|
||||
itemSelector : ".book",
|
||||
layoutMode : "fitRows"
|
||||
});
|
||||
|
||||
if ($(".load-more").length && $(".next").length) {
|
||||
var $loadMore = $(".load-more .row").infiniteScroll({
|
||||
var $loadMore = $(".load-more .row.display-flex").infiniteScroll({
|
||||
debug: false,
|
||||
// selector for the paged navigation (it will be hidden)
|
||||
path : ".next",
|
||||
@@ -406,7 +406,7 @@ $(function() {
|
||||
$(" a:not(.dropdown-toggle) ")
|
||||
.removeAttr("data-toggle");
|
||||
}
|
||||
$(".load-more .row").isotope( "appended", $(data), null );
|
||||
$(".load-more .row.display-flex").isotope( "appended", $(data), null );
|
||||
});
|
||||
|
||||
// fix for infinite scroll on CaliBlur Theme (#981)
|
||||
@@ -826,7 +826,7 @@ $(function() {
|
||||
});
|
||||
|
||||
$(window).resize(function() {
|
||||
$(".discover .row").isotope("layout");
|
||||
$(".discover .row.display-flex").isotope("layout");
|
||||
});
|
||||
|
||||
$("#import_ldap_users").click(function() {
|
||||
@@ -851,7 +851,7 @@ $(function() {
|
||||
$(this).parent().find("a.author-name").slice($(this).data("authors-max")).toggle();
|
||||
$(this).parent().find("span.author-hidden-divider").toggle();
|
||||
$(this).html() === $(this).data("collapse-caption") ? $(this).html("(...)") : $(this).html($(this).data("collapse-caption"));
|
||||
$(".discover .row").isotope("layout");
|
||||
$(".discover .row.display-flex").isotope("layout");
|
||||
});
|
||||
|
||||
$(".update-view").click(function(e) {
|
||||
|
||||
Reference in New Issue
Block a user