aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndreasGassmann <andreas@andreasgassmann.ch>2020-11-09 00:46:58 +0100
committerAndreasGassmann <andreas@andreasgassmann.ch>2020-11-09 00:46:58 +0100
commitf2f8d8177e0b04a46144bfaf5141e48532208e5f (patch)
treec611d45897135de5c0214f1b44cabaa52b52f780 /src
parent877b8bdfecabed14e8d5e8a84365743b81da0175 (diff)
downloadBIP39-f2f8d8177e0b04a46144bfaf5141e48532208e5f.tar.gz
BIP39-f2f8d8177e0b04a46144bfaf5141e48532208e5f.tar.zst
BIP39-f2f8d8177e0b04a46144bfaf5141e48532208e5f.zip
feat(test): add bip85 test
Diffstat (limited to 'src')
-rw-r--r--src/js/index.js6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/js/index.js b/src/js/index.js
index 80b78bc..7aa0217 100644
--- a/src/js/index.js
+++ b/src/js/index.js
@@ -464,7 +464,7 @@
464 function toggleBip85() { 464 function toggleBip85() {
465 if (DOM.showBip85.prop('checked')) { 465 if (DOM.showBip85.prop('checked')) {
466 DOM.bip85.removeClass('hidden'); 466 DOM.bip85.removeClass('hidden');
467 toggleBip85Fields(); 467 calcBip85();
468 } else { 468 } else {
469 DOM.bip85.addClass('hidden'); 469 DOM.bip85.addClass('hidden');
470 } 470 }
@@ -487,6 +487,10 @@
487 } 487 }
488 488
489 function calcBip85() { 489 function calcBip85() {
490 if (!DOM.showBip85.prop('checked')) {
491 return
492 }
493
490 toggleBip85Fields(); 494 toggleBip85Fields();
491 495
492 var app = DOM.bip85application.val(); 496 var app = DOM.bip85application.val();