diff options
author | kaotisk <kaotisk@arching-kaos.org> | 2024-03-17 03:15:37 +0200 |
---|---|---|
committer | kaotisk <kaotisk@arching-kaos.org> | 2024-03-17 03:15:37 +0200 |
commit | ebfc7ffb1bbfdd6b6c9fb2b810de02b53ae9aafe (patch) | |
tree | ca69fb27829c6bcbe89d28567c5745d12cbfb0a3 /src/js/arching-kaos-tools.js | |
parent | e6b6b2ba52121f02c757a90021375ffd88ec7a5e (diff) | |
download | arching-kaos-web-ui-ebfc7ffb1bbfdd6b6c9fb2b810de02b53ae9aafe.tar.gz arching-kaos-web-ui-ebfc7ffb1bbfdd6b6c9fb2b810de02b53ae9aafe.tar.bz2 arching-kaos-web-ui-ebfc7ffb1bbfdd6b6c9fb2b810de02b53ae9aafe.zip |
We start from zlatest zblock instead of resolving the zchain
Diffstat (limited to 'src/js/arching-kaos-tools.js')
-rw-r--r-- | src/js/arching-kaos-tools.js | 10 |
1 files changed, 6 insertions, 4 deletions
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; |