diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/js/index.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/js/index.js b/src/js/index.js index 3db0a31..c9e7b44 100644 --- a/src/js/index.js +++ b/src/js/index.js | |||
@@ -239,10 +239,12 @@ | |||
239 | } | 239 | } |
240 | phraseChangeTimeoutEvent = setTimeout(function() { | 240 | phraseChangeTimeoutEvent = setTimeout(function() { |
241 | phraseChanged(); | 241 | phraseChanged(); |
242 | var entropy = mnemonic.toRawEntropyBin(DOM.phrase.val()); | 242 | var entropy = mnemonic.toRawEntropyHex(DOM.phrase.val()); |
243 | if (entropy !== null) { | 243 | if (entropy !== null) { |
244 | DOM.entropyMnemonicLength.val("raw"); | 244 | DOM.entropyMnemonicLength.val("raw"); |
245 | DOM.entropy.val(entropy); | 245 | DOM.entropy.val(entropy); |
246 | DOM.entropyTypeInputs.filter("[value='hexadecimal']").prop("checked", true); | ||
247 | entropyTypeAutoDetect = false; | ||
246 | } | 248 | } |
247 | }, 400); | 249 | }, 400); |
248 | } | 250 | } |