aboutsummaryrefslogtreecommitdiff
path: root/src/js
diff options
context:
space:
mode:
authorIan Coleman <ian@iancoleman.io>2019-11-11 11:41:45 +1100
committerIan Coleman <ian@iancoleman.io>2019-11-11 11:41:45 +1100
commitf8fae68efb3f6b676df5e27d85356de8bbeb3d3b (patch)
tree136d6757d063b7128b886764e1ae42ac4dcc7960 /src/js
parent93f3a286dbb0ffaf49fe549027485778df133d8d (diff)
downloadBIP39-f8fae68efb3f6b676df5e27d85356de8bbeb3d3b.tar.gz
BIP39-f8fae68efb3f6b676df5e27d85356de8bbeb3d3b.tar.zst
BIP39-f8fae68efb3f6b676df5e27d85356de8bbeb3d3b.zip
Fix typo splitPhrase/phraseSplit
Diffstat (limited to 'src/js')
-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 807230b..5b61f1d 100644
--- a/src/js/index.js
+++ b/src/js/index.js
@@ -45,7 +45,7 @@
45 DOM.entropyWeakEntropyOverrideWarning = DOM.entropyContainer.find(".weak-entropy-override-warning"); 45 DOM.entropyWeakEntropyOverrideWarning = DOM.entropyContainer.find(".weak-entropy-override-warning");
46 DOM.entropyFilterWarning = DOM.entropyContainer.find(".filter-warning"); 46 DOM.entropyFilterWarning = DOM.entropyContainer.find(".filter-warning");
47 DOM.phrase = $(".phrase"); 47 DOM.phrase = $(".phrase");
48 DOM.splitPhrase = $(".phraseSplit"); 48 DOM.phraseSplit = $(".phraseSplit");
49 DOM.phraseSplitWarn = $(".phraseSplitWarn"); 49 DOM.phraseSplitWarn = $(".phraseSplitWarn");
50 DOM.passphrase = $(".passphrase"); 50 DOM.passphrase = $(".passphrase");
51 DOM.generateContainer = $(".generate-container"); 51 DOM.generateContainer = $(".generate-container");
@@ -1467,7 +1467,7 @@
1467 for (var ii=0;ii<wordCount/3;ii++) cards[i][group[i][ii]]='XXXX'; 1467 for (var ii=0;ii<wordCount/3;ii++) cards[i][group[i][ii]]='XXXX';
1468 cards[i]='Card '+(i+1)+': '+wordArrayToPhrase(cards[i]); 1468 cards[i]='Card '+(i+1)+': '+wordArrayToPhrase(cards[i]);
1469 } 1469 }
1470 DOM.splitPhrase.val(cards.join("\r\n")); 1470 DOM.phraseSplit.val(cards.join("\r\n"));
1471 var triesPerSecond=10000000000; 1471 var triesPerSecond=10000000000;
1472 var hackTime=Math.pow(2,wordCount*10/3)/triesPerSecond; 1472 var hackTime=Math.pow(2,wordCount*10/3)/triesPerSecond;
1473 var displayRedText = false; 1473 var displayRedText = false;