summaryrefslogtreecommitdiff
path: root/assets/js/src/Tooltip.js
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2016-03-24 21:53:47 -0400
committerFrederic Guillot <fred@kanboard.net>2016-03-24 21:53:47 -0400
commit13d5bd8e48bd6c0109d1272da58a8879bf9a6737 (patch)
tree9ecb8c0d998280f9edbcc4a537ec3c06f9d1bd49 /assets/js/src/Tooltip.js
parentfa372b7b846893afdd5c1a1fb888903eea4ab159 (diff)
Enable tooltips after task move (js refactoring)
Diffstat (limited to 'assets/js/src/Tooltip.js')
-rw-r--r--assets/js/src/Tooltip.js6
1 files changed, 5 insertions, 1 deletions
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
+};