aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bip39-standalone.html6
-rw-r--r--src/index.html2
-rw-r--r--src/js/index.js4
3 files changed, 6 insertions, 6 deletions
diff --git a/bip39-standalone.html b/bip39-standalone.html
index a31ac2f..5ef69ea 100644
--- a/bip39-standalone.html
+++ b/bip39-standalone.html
@@ -70,7 +70,7 @@
70 <label for="strength" class="col-sm-2 control-label">Number of words</label> 70 <label for="strength" class="col-sm-2 control-label">Number of words</label>
71 <div class="col-sm-10"> 71 <div class="col-sm-10">
72 <div class="input-group"> 72 <div class="input-group">
73 <input type="number" class="strength form-control" id="strength" value="12"> 73 <input type="number" class="strength form-control" id="strength" value="15">
74 <span class="input-group-btn"> 74 <span class="input-group-btn">
75 <button class="btn generate">Generate Random Mnemonic</button> 75 <button class="btn generate">Generate Random Mnemonic</button>
76 </span> 76 </span>
@@ -14726,7 +14726,6 @@ var Mnemonic = function(language) {
14726 14726
14727 function bip44Changed() { 14727 function bip44Changed() {
14728 setBip44DerivationPath(); 14728 setBip44DerivationPath();
14729 derivationPath = DOM.bip44path.val();
14730 derivationChanged(); 14729 derivationChanged();
14731 } 14730 }
14732 14731
@@ -14928,7 +14927,7 @@ var Mnemonic = function(language) {
14928 addressCell.addClass("invisible"); 14927 addressCell.addClass("invisible");
14929 } 14928 }
14930 if (!showPrivKey) { 14929 if (!showPrivKey) {
14931 privkeCell.addClass("invisible"); 14930 privkeyCell.addClass("invisible");
14932 } 14931 }
14933 DOM.addresses.append(row); 14932 DOM.addresses.append(row);
14934 } 14933 }
@@ -14954,6 +14953,7 @@ var Mnemonic = function(language) {
14954 path += account + "'/"; 14953 path += account + "'/";
14955 path += change; 14954 path += change;
14956 DOM.bip44path.val(path); 14955 DOM.bip44path.val(path);
14956 derivationPath = DOM.bip44path.val();
14957 } 14957 }
14958 14958
14959 function parseIntNoNaN(val, defaultVal) { 14959 function parseIntNoNaN(val, defaultVal) {
diff --git a/src/index.html b/src/index.html
index 59ef1a0..34b4248 100644
--- a/src/index.html
+++ b/src/index.html
@@ -66,7 +66,7 @@
66 <label for="strength" class="col-sm-2 control-label">Number of words</label> 66 <label for="strength" class="col-sm-2 control-label">Number of words</label>
67 <div class="col-sm-10"> 67 <div class="col-sm-10">
68 <div class="input-group"> 68 <div class="input-group">
69 <input type="number" class="strength form-control" id="strength" value="12"> 69 <input type="number" class="strength form-control" id="strength" value="15">
70 <span class="input-group-btn"> 70 <span class="input-group-btn">
71 <button class="btn generate">Generate Random Mnemonic</button> 71 <button class="btn generate">Generate Random Mnemonic</button>
72 </span> 72 </span>
diff --git a/src/js/index.js b/src/js/index.js
index a1cc31b..0a662a8 100644
--- a/src/js/index.js
+++ b/src/js/index.js
@@ -135,7 +135,6 @@
135 135
136 function bip44Changed() { 136 function bip44Changed() {
137 setBip44DerivationPath(); 137 setBip44DerivationPath();
138 derivationPath = DOM.bip44path.val();
139 derivationChanged(); 138 derivationChanged();
140 } 139 }
141 140
@@ -337,7 +336,7 @@
337 addressCell.addClass("invisible"); 336 addressCell.addClass("invisible");
338 } 337 }
339 if (!showPrivKey) { 338 if (!showPrivKey) {
340 privkeCell.addClass("invisible"); 339 privkeyCell.addClass("invisible");
341 } 340 }
342 DOM.addresses.append(row); 341 DOM.addresses.append(row);
343 } 342 }
@@ -363,6 +362,7 @@
363 path += account + "'/"; 362 path += account + "'/";
364 path += change; 363 path += change;
365 DOM.bip44path.val(path); 364 DOM.bip44path.val(path);
365 derivationPath = DOM.bip44path.val();
366 } 366 }
367 367
368 function parseIntNoNaN(val, defaultVal) { 368 function parseIntNoNaN(val, defaultVal) {