aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorIan Coleman <ian@iancoleman.io>2019-11-11 10:53:20 +1100
committerIan Coleman <ian@iancoleman.io>2019-11-11 10:53:20 +1100
commita04946e23e479fd09f89eb2b2f541c38ebd62799 (patch)
tree9cf24d898cedff250fb40142ee31e60b43072204 /src
parent700294714c39cb6e8226b960671a33dc93362edc (diff)
downloadBIP39-a04946e23e479fd09f89eb2b2f541c38ebd62799.tar.gz
BIP39-a04946e23e479fd09f89eb2b2f541c38ebd62799.tar.zst
BIP39-a04946e23e479fd09f89eb2b2f541c38ebd62799.zip
Add test for Pull Request 279 split phrase cards
Diffstat (limited to 'src')
-rw-r--r--src/js/index.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/js/index.js b/src/js/index.js
index 8caa0ed..03a8296 100644
--- a/src/js/index.js
+++ b/src/js/index.js
@@ -264,6 +264,7 @@
264 calcForDerivationPath(); 264 calcForDerivationPath();
265 // Show the word indexes 265 // Show the word indexes
266 showWordIndexes(); 266 showWordIndexes();
267 writeSplitPhrase(phrase);
267 } 268 }
268 269
269 function tabChanged() { 270 function tabChanged() {
@@ -432,7 +433,6 @@
432 if (DOM.phrase.val().length > 0) { 433 if (DOM.phrase.val().length > 0) {
433 var newPhrase = convertPhraseToNewLanguage(); 434 var newPhrase = convertPhraseToNewLanguage();
434 DOM.phrase.val(newPhrase); 435 DOM.phrase.val(newPhrase);
435 writeSplitPhrase(newPhrase);
436 phraseChanged(); 436 phraseChanged();
437 } 437 }
438 else { 438 else {
@@ -493,7 +493,6 @@
493 // show the words 493 // show the words
494 var words = mnemonic.toMnemonic(data); 494 var words = mnemonic.toMnemonic(data);
495 DOM.phrase.val(words); 495 DOM.phrase.val(words);
496 writeSplitPhrase(words);
497 // show the entropy 496 // show the entropy
498 var entropyHex = uint8ArrayToHex(data); 497 var entropyHex = uint8ArrayToHex(data);
499 DOM.entropy.val(entropyHex); 498 DOM.entropy.val(entropyHex);