summaryrefslogtreecommitdiff
path: root/assets/js/src/App.js
diff options
context:
space:
mode:
Diffstat (limited to 'assets/js/src/App.js')
-rw-r--r--assets/js/src/App.js7
1 files changed, 7 insertions, 0 deletions
diff --git a/assets/js/src/App.js b/assets/js/src/App.js
index cf630140..b85d5d3c 100644
--- a/assets/js/src/App.js
+++ b/assets/js/src/App.js
@@ -35,6 +35,7 @@ Kanboard.App.prototype.execute = function() {
this.keyboardShortcuts();
this.datePicker();
this.autoComplete();
+ this.tagAutoComplete();
};
Kanboard.App.prototype.keyboardShortcuts = function() {
@@ -131,6 +132,12 @@ Kanboard.App.prototype.datePicker = function() {
});
};
+Kanboard.App.prototype.tagAutoComplete = function() {
+ $(".tag-autocomplete").select2({
+ tags: true
+ })
+};
+
Kanboard.App.prototype.autoComplete = function() {
$(".autocomplete").each(function() {
var input = $(this);