From ebfc7ffb1bbfdd6b6c9fb2b810de02b53ae9aafe Mon Sep 17 00:00:00 2001 From: kaotisk Date: Sun, 17 Mar 2024 03:15:37 +0200 Subject: We start from zlatest zblock instead of resolving the zchain --- src/js/arching-kaos-tools.js | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'src/js') diff --git a/src/js/arching-kaos-tools.js b/src/js/arching-kaos-tools.js index 1b28c5a..7a01c3a 100644 --- a/src/js/arching-kaos-tools.js +++ b/src/js/arching-kaos-tools.js @@ -9,10 +9,12 @@ function getArrayLength(array){ function renderStellarAddressPlaceholder(stellarAddress){ var divs = document.querySelector('#'+stellarAddress); if ( divs === null ){ - var d = document.createElement('div'); - d.id = '#'+stellarAddress; - d.innerText = stellarAddress; - document.querySelector('.stellar-network').appendChild(d); + var details = document.createElement('details'); + details.id = '#'+stellarAddress; + var summary = document.createElement('summary'); + summary.innerText = stellarAddress; + details.appendChild(summary); + document.querySelector('.stellar-network').appendChild(details); } divs = document.querySelector('#'+stellarAddress); return divs; -- cgit v1.2.3