summaryrefslogtreecommitdiff
path: root/assets/js/src/task.js
diff options
context:
space:
mode:
Diffstat (limited to 'assets/js/src/task.js')
-rw-r--r--assets/js/src/task.js13
1 files changed, 13 insertions, 0 deletions
diff --git a/assets/js/src/task.js b/assets/js/src/task.js
new file mode 100644
index 00000000..968f25db
--- /dev/null
+++ b/assets/js/src/task.js
@@ -0,0 +1,13 @@
+// Task related functions
+Kanboard.Task = (function() {
+
+ return {
+
+ Init: function() {
+
+ // Image preview for attachments
+ $(".file-popover").click(Kanboard.Popover);
+ }
+ };
+
+})();