1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2024-10-31 07:52:37 +01:00

form tooltips pop from right.

This commit is contained in:
kay.one 2013-07-13 23:06:18 -07:00
parent 94807ac00b
commit 7d7cdfa148

View File

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