diff --git a/server/src/main/resources/static/js/lazyload.js b/server/src/main/resources/static/js/lazyload.js index 206459ff..4296d46d 100644 --- a/server/src/main/resources/static/js/lazyload.js +++ b/server/src/main/resources/static/js/lazyload.js @@ -19,12 +19,9 @@ function checkImgs() { } function loadImg(el) { - var loaded = el.getAttribute("loaded"); - if (!Boolean(loaded)) { - var source = el.getAttribute("data-src"); - el.setAttribute("loaded", true); - el.src = source; - } + var source = el.getAttribute("data-src"); + el.src = source; + } // var mustRun = 500 // function throttle(fn, mustRun) {