From a04946e23e479fd09f89eb2b2f541c38ebd62799 Mon Sep 17 00:00:00 2001 From: Ian Coleman Date: Mon, 11 Nov 2019 10:53:20 +1100 Subject: Add test for Pull Request 279 split phrase cards --- src/js/index.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/js') 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); -- cgit v1.2.3