mirror of
https://github.com/BobbyWibowo/lolisafe.git
synced 2024-12-15 00:46:22 +00:00
3 lines
521 B
JavaScript
3 lines
521 B
JavaScript
var lsKeys={},page={lazyLoad:null};window.addEventListener("DOMContentLoaded",(function(){for(var e=document.querySelectorAll(".image-container"),a=0;a<e.length;a++){var t=e[a].querySelector(".details .file-size");if(t){var r=t.dataset.value||t.innerHTML.replace(/\s*B$/i,"");t.innerHTML=page.getPrettyBytes(parseInt(r))}var n=e[a].querySelector(".details .file-date");if(n){var l=n.dataset.value;n.innerHTML=page.getPrettyDate(new Date(1e3*parseInt(l)))}}page.lazyLoad=new LazyLoad}));
|
|
//# sourceMappingURL=album.js.map
|