From ba678b11475fab61811c67e91e19828e16d989d5 Mon Sep 17 00:00:00 2001 From: Ian Coleman Date: Tue, 6 Feb 2018 09:57:28 +1100 Subject: [PATCH] Allow initial number of rows to be set by user --- src/js/index.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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) { -- 2.41.0