mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-17 17:14:18 +02:00
form tooltips pop from right.
This commit is contained in:
@@ -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');
|
||||
});
|
||||
});
|
||||
|
Reference in New Issue
Block a user