Fixed shifting of the panel if the dropdown was really big.

This commit is contained in:
Jan Böhmer 2020-04-01 16:34:07 +02:00
parent a4802e290f
commit 4ccfeef6ec

View file

@ -110,9 +110,12 @@ $(document).on("ajaxUI:start ajaxUI:reload", function() {
});
//Register bootstrap select picker
$(document).on("ajaxUI:reload", function () {
$(document).on("ajaxUI:reload ajaxUI:start", function () {
//@ts-ignore
$(".selectpicker").selectpicker();
$(".selectpicker").selectpicker({
dropdownAlignRight: 'auto',
container: '#content',
});
});
//Use bootstrap tooltips for the most tooltips