From f253148e0b67564788ac86b58d1dc1cf7cc7dabb Mon Sep 17 00:00:00 2001 From: Sai Raj <39055732+sairajzero@users.noreply.github.com> Date: Thu, 11 Apr 2019 18:05:46 +0530 Subject: [PATCH] Update FLO_webWallet_mainnet.html --- FLO_webWallet_mainnet.html | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/FLO_webWallet_mainnet.html b/FLO_webWallet_mainnet.html index 3750301..5e484c2 100644 --- a/FLO_webWallet_mainnet.html +++ b/FLO_webWallet_mainnet.html @@ -165,10 +165,13 @@ function startup(){ } } }).then(res => { - var input = document.getElementById("getAddr"); - input.value = res.join(','); - monitorData(); - input.value = ""; + console.log(res); + if(res.length){ + var input = document.getElementById("getAddr"); + input.value = res.join(','); + monitorData(); + input.value = ""; + } }).catch(error => { console.log(error.message); });