From b5fe547c85685d1bdf8496ee1735a7d020b7fd2c Mon Sep 17 00:00:00 2001 From: Sai Raj <39055732+sairajzero@users.noreply.github.com> Date: Thu, 11 Apr 2019 18:06:58 +0530 Subject: [PATCH] Update FLO_webWallet_testnet.html --- FLO_webWallet_testnet.html | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/FLO_webWallet_testnet.html b/FLO_webWallet_testnet.html index 896989e..c6bc157 100644 --- a/FLO_webWallet_testnet.html +++ b/FLO_webWallet_testnet.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); });