Skip to content

Commit

Permalink
Update Masonry script
Browse files Browse the repository at this point in the history
  • Loading branch information
sonvnn committed Feb 13, 2025
1 parent fddb729 commit 30223dd
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
4 changes: 2 additions & 2 deletions framework/html/com_content/category/blog.php
Original file line number Diff line number Diff line change
Expand Up @@ -96,8 +96,8 @@
if (!empty($use_masonry)) {
$document = Framework::getDocument();
$document->loadMasonry('.as-masonry');
$lead_row_cls[] = 'as-masonry';
$intro_row_cls[] = 'as-masonry';
$lead_row_cls[] = 'as-masonry as-loading';
$intro_row_cls[] = 'as-masonry as-loading';
}

$blog_layout = $this->params->get('as_blog_layout', '');
Expand Down
4 changes: 2 additions & 2 deletions framework/html/com_content/featured/default.php
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,8 @@
if (!empty($use_masonry)) {
$document = Framework::getDocument();
$document->loadMasonry('.as-masonry');
$lead_row_cls[] = 'as-masonry';
$intro_row_cls[] = 'as-masonry';
$lead_row_cls[] = 'as-masonry as-loading';
$intro_row_cls[] = 'as-masonry as-loading';
}

$blog_layout = $this->params->get('as_blog_layout', '');
Expand Down
1 change: 0 additions & 1 deletion framework/library/astroid/Helper/Font.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ public static function googleFonts()
{
$fonts = Helper::getJSONData('webfonts');
$options = [];

if (!isset($fonts['items'])) {
return $options;
}
Expand Down

0 comments on commit 30223dd

Please sign in to comment.