From 267526c9d7f50f32f5383f1f2ea44e79837b63eb Mon Sep 17 00:00:00 2001 From: John Mertens Date: Thu, 7 Feb 2013 07:35:17 -0800 Subject: [PATCH] Turn on bootstrap tooltip --- www/default.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/www/default.js b/www/default.js index fb8116e2..eb9ec7d6 100644 --- a/www/default.js +++ b/www/default.js @@ -74,6 +74,12 @@ $(function() { change_cost('hourly'); column_toggle_setup(); + + $('abbr').tooltip({ + placement: function(tt, el) { + return (this.$element.parents('thead').length) ? 'top' : 'right'; + } + }); }); $("#cost-dropdown li").bind("click", function(e) {