Fix issue with period selector

This commit is contained in:
José González 2022-04-25 10:33:33 +02:00
parent f36a89d41d
commit 3cd116f88b
1 changed files with 1 additions and 3 deletions

View File

@ -1040,7 +1040,7 @@ function adjustTextUnits(name) {
"selected",
true
);
$("#" + name + "_units").trigger("change");
$("#text-" + name + "_text").val(restPrev);
unitsSelected = true;
}
@ -1049,9 +1049,7 @@ function adjustTextUnits(name) {
});
if (unitsSelected == false) {
//$("#" + name + "_units option:last").prop("selected", true);
$("#" + name + "_units option:last").prop("selected", true);
$("#" + name + "_units").trigger("change");
$("#text-" + name + "_text").val(restPrev);
}