File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
app/code/Magento/Catalog/view/frontend/templates/product Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -24,12 +24,12 @@ $enableLazyLoadingWithoutBorders = (bool)$block->getVar(
2424 <?php endforeach ; ?>
2525 src="<?= $ escaper ->escapeUrl ($ block ->getImageUrl ()) ?> "
2626 loading="lazy"
27- <!-- Enable lazy loading for images with borders and if variable
28- enable_lazy_loading_for_images_without_borders in view.xml is enabled -->
29- <?php if ($ borders || $ enableLazyLoadingWithoutBorders ) : ?>
27+ <!-- Enable lazy loading for images with borders and if variable
28+ enable_lazy_loading_for_images_without_borders in view.xml is enabled -->
29+ <?php if ($ borders || $ enableLazyLoadingWithoutBorders ): ?>
3030 width="<?= $ escaper ->escapeHtmlAttr ($ block ->getWidth ()) ?> "
3131 height="<?= $ escaper ->escapeHtmlAttr ($ block ->getHeight ()) ?> "
32- <?php else : ?>
32+ <?php else : ?>
3333 max-width="<?= $ escaper ->escapeHtmlAttr ($ block ->getWidth ()) ?> "
3434 max-height="<?= $ escaper ->escapeHtmlAttr ($ block ->getHeight ()) ?> "
3535 <?php endif ; ?>
You can’t perform that action at this time.
0 commit comments