diff options
Diffstat (limited to 'modules-available/roomplanner/js/grid.js')
-rw-r--r-- | modules-available/roomplanner/js/grid.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/modules-available/roomplanner/js/grid.js b/modules-available/roomplanner/js/grid.js index 09e52099..cc09e21d 100644 --- a/modules-available/roomplanner/js/grid.js +++ b/modules-available/roomplanner/js/grid.js @@ -97,14 +97,14 @@ if (!roomplanner) var roomplanner = { }); }, initTooltip: function(el) { - if ($(el).attr('itemtype') == 'pc') { + if ($(el).attr('itemtype') === 'pc') { var tip = "<b>Rechnerdaten</b><br>"; $(roomplanner.computerAttributes).each(function(i,key){ tip += __(key)+": "+$(el).attr(key)+"<br>"; }); - $(el).attr('title', tip); - $(el).tooltip({html: true}); + $(el).attr('title', tip).attr('data-toggle', 'tooltip'); + $(el).tooltip({html: true, container: 'body'}); } }, /** |