Fix: Currency not preselected on registration
This commit is contained in:
parent
878eedf1d6
commit
fc56cf69ef
@ -25,7 +25,7 @@ function storeFormFields() {
|
|||||||
|
|
||||||
function restoreFormFieldValue(fieldId) {
|
function restoreFormFieldValue(fieldId) {
|
||||||
var fieldElement = document.getElementById(fieldId);
|
var fieldElement = document.getElementById(fieldId);
|
||||||
if (fieldElement) {
|
if (localStorage.getItem(fieldId)) {
|
||||||
fieldElement.value = localStorage.getItem(fieldId) || '';
|
fieldElement.value = localStorage.getItem(fieldId) || '';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user