diff options
Diffstat (limited to 'assets')
-rw-r--r-- | assets/css/src/tooltip.css | 7 | ||||
-rw-r--r-- | assets/js/src/base.js | 7 | ||||
-rw-r--r-- | assets/js/src/board.js | 8 |
3 files changed, 14 insertions, 8 deletions
diff --git a/assets/css/src/tooltip.css b/assets/css/src/tooltip.css index 625b7532..a940bc16 100644 --- a/assets/css/src/tooltip.css +++ b/assets/css/src/tooltip.css @@ -62,4 +62,9 @@ div.ui-tooltip { .tooltip-large { width: 550px; -}
\ No newline at end of file +} + +.column-tooltip { + color: #999; + font-size: 0.95em; +} 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(); } + }); })(); |