diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/js/index.js | 3 |
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); |