Skip to content

Commit f151641

Browse files
Update lazy.phtml
1 parent 7d47358 commit f151641

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

view/frontend/templates/lazy.phtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<script data-rocketjavascript="false">
1616
(function(){
1717
document.body.className = document.body.className.replace('mflazyzoad-no-js', '');
18-
var jsSrc = '<?php echo $this->getViewFileUrl('Magefan_LazyLoad::js/lazyload.min.js'); ?>'
18+
var jsSrc = '<?php echo $this->getViewFileUrl('Magefan_LazyLoad::js/lazyload.min.js'); ?>';
1919
function loadScript(e,t){var a,n,r;n=!1,(a=document.createElement("script")).type="text/javascript",a.src=e,a.onload=a.onreadystatechange=function(){n||this.readyState&&"complete"!=this.readyState||(n=!0,t())},(r=document.getElementsByTagName("script")[0]).parentNode.insertBefore(a,r)}
2020
loadScript(jsSrc, function(){
2121
var lazyLoadConfig = <?= $block->getLazyLoadConfig() ?>;

0 commit comments

Comments
 (0)