feat: optimising JS initialisation methods (#516)

pull/517/head
n0099 2022-06-07 19:02:13 +08:00 committed by GitHub
parent 069c0cfc97
commit 6c8c756b0a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 2 deletions

View File

@ -171,7 +171,7 @@
})
}
$(function () {
window.initKratos = function () {
accordionConfig()
navbarConfig()
tooltipConfig()
@ -183,7 +183,8 @@
donateConfig()
consoleConfig()
lightGalleryConfig()
})
};
$(window.initKratos);
})()
function grin(tag) {