Skip to content

Commit

Permalink
fix(ui): could not submit pin due to localization updates
Browse files Browse the repository at this point in the history
  • Loading branch information
ReenigneArcher committed Mar 30, 2024
1 parent 2b059c6 commit a722707
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src_assets/common/assets/web/pin.html
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,6 @@ <h1 class="my-4">{{ $t('pin.pin_pairing') }}</h1>
}
});

//Wait for locale initialization, then render
i18n().then(i18n => {
app.use(i18n);
app.mount('#app');
});

document.querySelector("#form").addEventListener("submit", (e) => {
e.preventDefault();
let pin = document.querySelector("#pin-input").value;
Expand All @@ -59,4 +53,10 @@ <h1 class="my-4">{{ $t('pin.pin_pairing') }}</h1>
}
});
});

//Wait for locale initialization, then render
i18n().then(i18n => {
app.use(i18n);
app.mount('#app');
});
</script>

0 comments on commit a722707

Please sign in to comment.