1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/kanboard_ynh.git synced 2024-09-03 19:36:17 +02:00
kanboard_ynh/sources/assets/js/init.js
2014-12-22 19:15:38 +01:00

15 lines
No EOL
308 B
JavaScript

// Initialization
$(function() {
Kanboard.Init();
if (Kanboard.Exists("board")) {
Kanboard.Board.Init();
}
else if (Kanboard.Exists("task-section")) {
Kanboard.Task.Init();
}
else if (Kanboard.Exists("analytic-section")) {
Kanboard.Analytic.Init();
}
});