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

23 lines
456 B
JavaScript
Raw Normal View History

window.addEventListener('DOMContentLoaded', () => {
// print theme info
ILS.utils.printThemeInfo();
// init scroll
ILS.utils.registerWindowScroll();
// init tools button
ILS.utils.registerToolsButtonClick();
// comment
ILS.utils.goComment();
2020-10-26 12:23:55 +08:00
// init page height handle
ILS.utils.initPageHeightHandle();
2020-11-13 14:43:22 +08:00
// init first screen height
ILS.utils.initFirstScreenHeight();
2020-11-16 19:04:24 +08:00
// big image viewer handle
ILS.utils.imageViewer();
});