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

15 lines
308 B
JavaScript
Raw Normal View History

2014-12-22 19:15:38 +01:00
// 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();
}
});