summaryrefslogtreecommitdiff
path: root/assets/js/src/init.js
blob: e6d16085c2c8077dddf341b3a18abb31fe79b446 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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();
    }
});