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()
|
accordionConfig()
|
||||||
navbarConfig()
|
navbarConfig()
|
||||||
tooltipConfig()
|
tooltipConfig()
|
||||||
|
@ -183,7 +183,8 @@
|
||||||
donateConfig()
|
donateConfig()
|
||||||
consoleConfig()
|
consoleConfig()
|
||||||
lightGalleryConfig()
|
lightGalleryConfig()
|
||||||
})
|
};
|
||||||
|
$(window.initKratos);
|
||||||
})()
|
})()
|
||||||
|
|
||||||
function grin(tag) {
|
function grin(tag) {
|
||||||
|
|
Loading…
Reference in New Issue