diff options
Diffstat (limited to 'assets/js')
-rw-r--r-- | assets/js/src/base.js | 7 | ||||
-rw-r--r-- | assets/js/src/board.js | 8 |
2 files changed, 8 insertions, 7 deletions
diff --git a/assets/js/src/base.js b/assets/js/src/base.js index 090f0656..cf8de7df 100644 --- a/assets/js/src/base.js +++ b/assets/js/src/base.js @@ -187,6 +187,13 @@ var Kanboard = (function() { Mousetrap.bind("ctrl+enter", function() { $("form").submit(); }); + + // Tooltip for column description + $(".column-tooltip").tooltip({ + content: function(e) { + return '<div class="markdown">'+$(this).attr("title")+'</div>'; + } + }); $.datepicker.setDefaults($.datepicker.regional[$("body").data("js-lang")]); diff --git a/assets/js/src/board.js b/assets/js/src/board.js index 696e2145..2a51eef4 100644 --- a/assets/js/src/board.js +++ b/assets/js/src/board.js @@ -50,13 +50,6 @@ Kanboard.Board = (function() { // Description popover $(".task-description-popover").click(on_popover); - // Tooltip for column description - $(".column-tooltip").tooltip({ - content: function(e) { - return $(this).attr("title"); - } - }); - // Tooltips for tasks $(".task-board-tooltip").tooltip({ track: false, @@ -279,6 +272,7 @@ Kanboard.Board = (function() { filter_load_events(); keyboard_shortcuts(); } + }); })(); |