mirror of
https://github.com/BobbyWibowo/lolisafe.git
synced 2024-12-13 16:06:21 +00:00
d29621d5ff
Despite that, it still expects the existence of a so-called main script in "page" variable, and also expects to be loaded by it instead, with an internal check to load itself if the main script fails to call itself within the expected conditions. Improved button colors in SweetAlert prompts. Refactored window.onload() to DOMContentLoaded's event listener. This should essentially allow pages to have multiple scripts that listen to that event. Bumped v1 version string and rebuilt client assets.
3 lines
306 B
JavaScript
3 lines
306 B
JavaScript
var lsKeys={},page={lazyLoad:null};window.addEventListener("DOMContentLoaded",(function(){for(var e=document.querySelectorAll(".file-size"),n=0;n<e.length;n++)e[n].innerHTML=page.getPrettyBytes(parseInt(e[n].innerHTML.replace(/\s*B$/i,"")));page.lazyLoad=new LazyLoad}));
|
|
//# sourceMappingURL=album.js.map
|