We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ce1ebbb commit 2f23d1bCopy full SHA for 2f23d1b
view/frontend/templates/lazy.phtml
@@ -21,9 +21,15 @@
21
var lazyLoadConfig = <?= $block->getLazyLoadConfig() ?>;
22
if (document.readyState !== 'loading') {
23
var myLazyLoad = new LazyLoad(lazyLoadConfig);
24
+ setTimeout(function(){
25
+ new LazyLoad(lazyLoadConfig);
26
+ }, 2000);
27
} else {
28
document.addEventListener("DOMContentLoaded", function() {
29
30
31
32
33
});
34
}
35
return true;
0 commit comments