From: Chris Duncan Date: Sat, 2 Nov 2024 06:13:47 +0000 (-0700) Subject: Fix account being selectable when launching wallet create/import form. X-Git-Url: https://zoso.dev/?a=commitdiff_plain;h=a085f2fb9ce7fb7dfc5099c15f6f68716e110c73;p=nemo-wallet.git Fix account being selectable when launching wallet create/import form. --- diff --git a/nemo-wallet.html b/nemo-wallet.html index c1ecc44..562ff9c 100644 --- a/nemo-wallet.html +++ b/nemo-wallet.html @@ -308,7 +308,7 @@ async function selectAccount () { const accountSelect = document.getElementById('account') const walletId = document.getElementById('wallet')?.value - if (walletId == null || walletId === '') { + if (walletId == null || walletId === '' || walletId === '_new' || walletId === '_import') { accountSelect.value = '' accountSelect.setAttribute('disabled', '') return