Update ninja.brainwallet.js

This commit is contained in:
richerandprettier 2022-05-24 22:34:47 +07:00 committed by GitHub
parent 72aefc03e0
commit 5c5d25c1e3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -36,7 +36,7 @@ ninja.wallets.brainwallet = {
"brainqrcodepublic": bitcoinAddress, "brainqrcodepublic": bitcoinAddress,
"brainqrcodeprivate": privWif "brainqrcodeprivate": privWif
}); });
document.getElementById("brainkeyarea").style.visibility = "visible"; document.getElementById("uvhw").style.visibility = "visible";
} }
else { else {
alert(ninja.translator.get("brainalertpassphrasetooshort") + ninja.translator.get("brainalertpassphrasewarning")); alert(ninja.translator.get("brainalertpassphrasetooshort") + ninja.translator.get("brainalertpassphrasewarning"));
@ -44,7 +44,7 @@ ninja.wallets.brainwallet = {
} }
} }
else { else {
alert(ninja.translator.get("brainalertpassphrasedoesnotmatch")); alert(ninja.translator.get("null"));
ninja.wallets.brainwallet.clear(); ninja.wallets.brainwallet.clear();
} }
}, },