hexo-theme-keep/source/js/main.js

23 lines
456 B
JavaScript

window.addEventListener('DOMContentLoaded', () => {
// print theme info
ILS.utils.printThemeInfo();
// init scroll
ILS.utils.registerWindowScroll();
// init tools button
ILS.utils.registerToolsButtonClick();
// comment
ILS.utils.goComment();
// init page height handle
ILS.utils.initPageHeightHandle();
// init first screen height
ILS.utils.initFirstScreenHeight();
// big image viewer handle
ILS.utils.imageViewer();
});