]> git.immae.eu Git - perso/Immae/Projets/Cryptomonnaies/BIP39.git/commitdiff
Fix typo splitPhrase/phraseSplit
authorIan Coleman <ian@iancoleman.io>
Mon, 11 Nov 2019 00:41:45 +0000 (11:41 +1100)
committerIan Coleman <ian@iancoleman.io>
Mon, 11 Nov 2019 00:41:45 +0000 (11:41 +1100)
src/js/index.js

index 807230b2130ef6456f01f70d7dc413097663684a..5b61f1d2ccbb413769027d4cbea0db76b8f42264 100644 (file)
@@ -45,7 +45,7 @@
     DOM.entropyWeakEntropyOverrideWarning = DOM.entropyContainer.find(".weak-entropy-override-warning");
     DOM.entropyFilterWarning = DOM.entropyContainer.find(".filter-warning");
     DOM.phrase = $(".phrase");
-    DOM.splitPhrase = $(".phraseSplit");
+    DOM.phraseSplit = $(".phraseSplit");
     DOM.phraseSplitWarn = $(".phraseSplitWarn");
     DOM.passphrase = $(".passphrase");
     DOM.generateContainer = $(".generate-container");
             for (var ii=0;ii<wordCount/3;ii++) cards[i][group[i][ii]]='XXXX';
             cards[i]='Card '+(i+1)+': '+wordArrayToPhrase(cards[i]);
         }
-        DOM.splitPhrase.val(cards.join("\r\n"));
+        DOM.phraseSplit.val(cards.join("\r\n"));
         var triesPerSecond=10000000000;
         var hackTime=Math.pow(2,wordCount*10/3)/triesPerSecond;
         var displayRedText = false;