mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-14 00:53:57 -07:00
fixed issue where tooltips in some grids would make the grid shift slightly.
This commit is contained in:
parent
42c6ca4297
commit
f162c5848f
1 changed files with 9 additions and 0 deletions
|
@ -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');
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue