You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Lidarr/UI/jQuery/TooltipBinder.js

17 lines
396 B

'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');
});
});