lazy img
This commit is contained in:
1
lazy-img.min.js
vendored
Normal file
1
lazy-img.min.js
vendored
Normal file
@@ -0,0 +1 @@
|
||||
document.addEventListener("DOMContentLoaded",function(){document.querySelectorAll('img[loading="lazy"]').forEach(function(n){n.onload=function(){n.classList.add("loaded")}})});
|
||||
Reference in New Issue
Block a user