mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-17 17:14:18 +02:00
fixed issue where tooltips in some grids would make the grid shift slightly.
This commit is contained in:
@@ -11,6 +11,15 @@ define(
|
|||||||
element.attr('data-placement', 'right');
|
element.attr('data-placement', 'right');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
var container = element.parents('.modal-body');
|
||||||
|
if (container.length === 0) {
|
||||||
|
container = 'body';
|
||||||
|
}
|
||||||
|
|
||||||
|
element.tooltip({
|
||||||
|
container: container
|
||||||
|
});
|
||||||
|
|
||||||
element.tooltip('show');
|
element.tooltip('show');
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
Reference in New Issue
Block a user