X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;ds=sidebyside;f=src%2Fjs%2Findex.js;h=03a829677e3766f64f60b3d1c8225811d9fc7b50;hb=a04946e23e479fd09f89eb2b2f541c38ebd62799;hp=8caa0ed440cfc3dcc012a15c2615a83cc4094024;hpb=700294714c39cb6e8226b960671a33dc93362edc;p=perso%2FImmae%2FProjets%2FCryptomonnaies%2FBIP39.git 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 @@ calcForDerivationPath(); // Show the word indexes showWordIndexes(); + writeSplitPhrase(phrase); } function tabChanged() { @@ -432,7 +433,6 @@ if (DOM.phrase.val().length > 0) { var newPhrase = convertPhraseToNewLanguage(); DOM.phrase.val(newPhrase); - writeSplitPhrase(newPhrase); phraseChanged(); } else { @@ -493,7 +493,6 @@ // show the words var words = mnemonic.toMnemonic(data); DOM.phrase.val(words); - writeSplitPhrase(words); // show the entropy var entropyHex = uint8ArrayToHex(data); DOM.entropy.val(entropyHex);