Skip to content

Commit

Permalink
lazyload disabled by default
Browse files Browse the repository at this point in the history
  • Loading branch information
Oksydan committed Oct 23, 2023
1 parent 64066ca commit 484628f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Core/Smarty/SmartyHelperFunctions.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ public static function generateImagesSources($params)
{
$image = $params['image'];
$size = $params['size'];
$lazyLoad = isset($params['lazyload']) ? $params['lazyload'] : true;
$lazyLoad = $params['lazyload'] ?? false;
$attributes = [];
$highDpiImagesEnabled = (bool) \Configuration::get('PS_HIGHT_DPI');

Expand Down

0 comments on commit 484628f

Please sign in to comment.