Update FLO_webWallet_testnet.html

This commit is contained in:
Sai Raj 2019-04-11 18:06:58 +05:30 committed by GitHub
parent f253148e0b
commit b5fe547c85
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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);
});