Changes made to .js source files.
This commit is contained in:
parent
d0dfcb30df
commit
63e6d2b3d7
2 changed files with 3 additions and 3 deletions
|
@ -12,9 +12,9 @@ ninja.wallets.brainwallet = {
|
|||
minPassphraseLength: 15,
|
||||
|
||||
view: function () {
|
||||
var key = document.getElementById("brainpassphrase").value.toString().replace(/^\s+|\s+$/g, ""); // trim white space
|
||||
var key = document.getElementById("brainpassphrase").value.toString()
|
||||
document.getElementById("brainpassphrase").value = key;
|
||||
var keyConfirm = document.getElementById("brainpassphraseconfirm").value.toString().replace(/^\s+|\s+$/g, ""); // trim white space
|
||||
var keyConfirm = document.getElementById("brainpassphraseconfirm").value.toString()
|
||||
document.getElementById("brainpassphraseconfirm").value = keyConfirm;
|
||||
|
||||
if (key == keyConfirm || document.getElementById("brainpassphraseshow").checked) {
|
||||
|
|
|
@ -37,7 +37,7 @@ ninja.wallets.detailwallet = {
|
|||
document.getElementById("detailprivkeypassphrase").focus();
|
||||
return;
|
||||
}
|
||||
var passphrase = document.getElementById("detailprivkeypassphrase").value.toString().replace(/^\s+|\s+$/g, ""); // trim white space
|
||||
var passphrase = document.getElementById("detailprivkeypassphrase").value.toString()
|
||||
if (passphrase == "") {
|
||||
alert(ninja.translator.get("bip38alertpassphraserequired"));
|
||||
return;
|
||||
|
|
Loading…
Reference in a new issue