From: Ian Coleman Date: Mon, 5 Feb 2018 22:57:28 +0000 (+1100) Subject: Allow initial number of rows to be set by user X-Git-Url: https://git.immae.eu/?p=perso%2FImmae%2FProjets%2FCryptomonnaies%2FBIP39.git;a=commitdiff_plain;h=ba678b11475fab61811c67e91e19828e16d989d5 Allow initial number of rows to be set by user --- 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 @@ DOM.extendedPubKey.val(extendedPubKey); // Display the addresses and privkeys clearAddressesList(); - displayAddresses(0, 20); + var initialAddressCount = parseInt(DOM.rowsToAdd.val()); + displayAddresses(0, initialAddressCount); } function displayAddresses(start, total) {