diff options
author | Ian Coleman <ian@iancoleman.io> | 2018-02-06 09:57:28 +1100 |
---|---|---|
committer | Ian Coleman <ian@iancoleman.io> | 2018-02-06 09:57:28 +1100 |
commit | ba678b11475fab61811c67e91e19828e16d989d5 (patch) | |
tree | 8c294509cf4ba1f7b47a93e25b3d93d6bca95f08 | |
parent | 0b39e9dca79f71d898693d5cb93b6a1d1e0372f6 (diff) | |
download | BIP39-ba678b11475fab61811c67e91e19828e16d989d5.tar.gz BIP39-ba678b11475fab61811c67e91e19828e16d989d5.tar.zst BIP39-ba678b11475fab61811c67e91e19828e16d989d5.zip |
Allow initial number of rows to be set by user
-rw-r--r-- | src/js/index.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/js/index.js b/src/js/index.js index 3543e53..b09a981 100644 --- a/src/js/index.js +++ b/src/js/index.js | |||
@@ -727,7 +727,8 @@ | |||
727 | DOM.extendedPubKey.val(extendedPubKey); | 727 | DOM.extendedPubKey.val(extendedPubKey); |
728 | // Display the addresses and privkeys | 728 | // Display the addresses and privkeys |
729 | clearAddressesList(); | 729 | clearAddressesList(); |
730 | displayAddresses(0, 20); | 730 | var initialAddressCount = parseInt(DOM.rowsToAdd.val()); |
731 | displayAddresses(0, initialAddressCount); | ||
731 | } | 732 | } |
732 | 733 | ||
733 | function displayAddresses(start, total) { | 734 | function displayAddresses(start, total) { |