1
0
Fork 0
mirror of https://github.com/Radarr/Radarr synced 2024-12-27 10:19:41 +00:00
Radarr/UI/jQuery/TooltipBinder.js
2013-07-13 23:06:18 -07:00

16 lines
396 B
JavaScript

'use strict';
define(
[
'bootstrap'
], function () {
$(document).on('mouseenter', '[title]', function () {
var element = $(this);
if (!element.attr('data-placement') && element.parents('.control-group').length > 0) {
element.attr('data-placement', 'right');
}
element.tooltip('show');
});
});