Fix for row display in caliblur

This commit is contained in:
Ozzie Isaacs
2026-08-15 09:09:02 +02:00
parent db11de9ea4
commit 2b441ffd83
+5 -5
View File
@@ -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) {