mirror of
https://github.com/Sonarr/Sonarr.git
synced 2024-12-16 11:37:58 +02:00
17 lines
396 B
JavaScript
17 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');
|
|
});
|
|
});
|