onelinefy

This commit is contained in:
LenAnderson 2023-11-20 12:56:52 +00:00
parent 1dd1cd69ac
commit 18e6b8cd7c
1 changed files with 2 additions and 10 deletions

View File

@ -6228,17 +6228,9 @@ function callPopup(text, type, inputValue = '', { okButton, rows, wide, large }
popup_type = type;
}
if (wide) {
$("#dialogue_popup").addClass("wide_dialogue_popup");
} else {
$("#dialogue_popup").removeClass("wide_dialogue_popup");
}
$('#dialogue_popup').toggleClass('wide_dialogue_popup', !!wide);
if (large) {
$("#dialogue_popup").addClass("large_dialogue_popup");
} else {
$("#dialogue_popup").removeClass("large_dialogue_popup");
}
$('#dialogue_popup').toggleClass('large_dialogue_popup', !!large);
$("#dialogue_popup_cancel").css("display", "inline-block");
switch (popup_type) {