From 13d5bd8e48bd6c0109d1272da58a8879bf9a6737 Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Thu, 24 Mar 2016 21:53:47 -0400 Subject: Enable tooltips after task move (js refactoring) --- assets/js/src/Tooltip.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'assets/js/src/Tooltip.js') diff --git a/assets/js/src/Tooltip.js b/assets/js/src/Tooltip.js index 376b403a..28e922cc 100644 --- a/assets/js/src/Tooltip.js +++ b/assets/js/src/Tooltip.js @@ -2,6 +2,10 @@ Kanboard.Tooltip = function(app) { this.app = app; }; +Kanboard.Tooltip.prototype.onBoardRendered = function() { + this.execute(); +}; + Kanboard.Tooltip.prototype.execute = function() { $(".tooltip").tooltip({ track: false, @@ -68,4 +72,4 @@ Kanboard.Tooltip.prototype.execute = function() { } }, 100); }); -}; \ No newline at end of file +}; -- cgit v1.2.3