summaryrefslogtreecommitdiff
path: root/assets/js/init.js
diff options
context:
space:
mode:
Diffstat (limited to 'assets/js/init.js')
-rw-r--r--assets/js/init.js12
1 files changed, 12 insertions, 0 deletions
diff --git a/assets/js/init.js b/assets/js/init.js
new file mode 100644
index 00000000..bad0921e
--- /dev/null
+++ b/assets/js/init.js
@@ -0,0 +1,12 @@
+// Initialization
+$(function() {
+
+ Kanboard.Init();
+
+ if ($("#board").length) {
+ Kanboard.Board.Init();
+ }
+ else if ($("#task-section").length) {
+ Kanboard.Task.Init();
+ }
+}); \ No newline at end of file