Skip to content

Commit

Permalink
feat: optimising JS initialisation methods (#516)
Browse files Browse the repository at this point in the history
  • Loading branch information
n0099 authored Jun 7, 2022
1 parent 069c0cf commit 6c8c756
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions assets/js/kratos.js
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@
})
}

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

function grin(tag) {
Expand Down

0 comments on commit 6c8c756

Please sign in to comment.