diff --git a/www/default.js b/www/default.js index 366e1139..791a8a28 100644 --- a/www/default.js +++ b/www/default.js @@ -80,6 +80,13 @@ $(function() { change_cost('hourly'); setup_column_toggle(); + + // enable bootstrap tooltips + $('abbr').tooltip({ + placement: function(tt, el) { + return (this.$element.parents('thead').length) ? 'top' : 'right'; + } + }); }); $("#cost-dropdown li").bind("click", function(e) {