aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/js/index.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/js/index.js b/src/js/index.js
index a717a9e..45db7b1 100644
--- a/src/js/index.js
+++ b/src/js/index.js
@@ -43,7 +43,7 @@
43 DOM.bip44coin = $("#bip44 .coin"); 43 DOM.bip44coin = $("#bip44 .coin");
44 DOM.bip44account = $("#bip44 .account"); 44 DOM.bip44account = $("#bip44 .account");
45 DOM.bip44change = $("#bip44 .change"); 45 DOM.bip44change = $("#bip44 .change");
46 DOM.strength = $(".strength"); 46 DOM.generatedStrength = $(".generate-container .strength");
47 DOM.hardenedAddresses = $(".hardened-addresses"); 47 DOM.hardenedAddresses = $(".hardened-addresses");
48 DOM.addresses = $(".addresses"); 48 DOM.addresses = $(".addresses");
49 DOM.rowsToAdd = $(".rows-to-add"); 49 DOM.rowsToAdd = $(".rows-to-add");
@@ -286,7 +286,7 @@
286 showValidationError(errorText); 286 showValidationError(errorText);
287 return; 287 return;
288 } 288 }
289 var numWords = parseInt(DOM.strength.val()); 289 var numWords = parseInt(DOM.generatedStrength.val());
290 var strength = numWords / 3 * 32; 290 var strength = numWords / 3 * 32;
291 var words = mnemonic.generate(strength); 291 var words = mnemonic.generate(strength);
292 DOM.phrase.val(words); 292 DOM.phrase.val(words);