mirror of https://github.com/vtrois/kratos
feat: optimising JS initialisation methods (#516)
parent
069c0cfc97
commit
6c8c756b0a
|
@ -171,7 +171,7 @@
|
|||
})
|
||||
}
|
||||
|
||||
$(function () {
|
||||
window.initKratos = function () {
|
||||
accordionConfig()
|
||||
navbarConfig()
|
||||
tooltipConfig()
|
||||
|
@ -183,7 +183,8 @@
|
|||
donateConfig()
|
||||
consoleConfig()
|
||||
lightGalleryConfig()
|
||||
})
|
||||
};
|
||||
$(window.initKratos);
|
||||
})()
|
||||
|
||||
function grin(tag) {
|
||||
|
|
Loading…
Reference in New Issue