diff options
Diffstat (limited to 'assets/js/src/init.js')
-rw-r--r-- | assets/js/src/init.js | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/assets/js/src/init.js b/assets/js/src/init.js new file mode 100644 index 00000000..e6d16085 --- /dev/null +++ b/assets/js/src/init.js @@ -0,0 +1,18 @@ +// Initialization +$(function() { + + Kanboard.Init(); + + if (Kanboard.Exists("board")) { + Kanboard.Board.Init(); + } + else if (Kanboard.Exists("calendar")) { + Kanboard.Calendar.Init(); + } + else if (Kanboard.Exists("task-section")) { + Kanboard.Task.Init(); + } + else if (Kanboard.Exists("analytic-section")) { + Kanboard.Analytic.Init(); + } +});
\ No newline at end of file |