Skip to content

Commit

Permalink
Fix: Currency not preselected on registration
Browse files Browse the repository at this point in the history
  • Loading branch information
ellite committed Feb 12, 2024
1 parent 878eedf commit fc56cf6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/registration.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) || '';
}
}
Expand Down

0 comments on commit fc56cf6

Please sign in to comment.