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