Lazy lazy loading

This commit is contained in:
Pablo Moyano 2020-03-14 23:36:46 +01:00
parent de84d85d6e
commit 518169d819

View File

@ -27,7 +27,6 @@
<link href="https://fonts.googleapis.com/css?family=Fira+Sans&display=swap" rel="stylesheet">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/vanilla-lazyload@13.0.1/dist/lazyload.min.js"></script>
</head>
<body>
@ -373,10 +372,11 @@
<!-- With the DOM ready, lazyload all pics and swap all icons -->
<script>
var lazyLoadInstance = new LazyLoad({
window.lazyLoadOptions = {
elements_selector: ".lazy"
});
};
</script>
<script async src="https://cdn.jsdelivr.net/npm/vanilla-lazyload@13.0.1/dist/lazyload.min.js"></script>
<script src="https://code.iconify.design/1/1.0.4/iconify.min.js"></script>
</body>