Fix: Currency not preselected on registration

This commit is contained in:
Miguel Ribeiro
2024-02-12 18:34:24 +01:00
parent 878eedf1d6
commit fc56cf69ef
+1 -1
View File
@@ -25,7 +25,7 @@ function storeFormFields() {
function restoreFormFieldValue(fieldId) {
var fieldElement = document.getElementById(fieldId);
if (fieldElement) {
if (localStorage.getItem(fieldId)) {
fieldElement.value = localStorage.getItem(fieldId) || '';
}
}