aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/index.html2
-rw-r--r--src/js/index.js4
2 files changed, 3 insertions, 3 deletions
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) {