fix extra onion icon displaying in stat panel

This commit is contained in:
Kevin Froman 2021-01-29 23:54:14 +00:00
parent 84987cfc21
commit 418237cfc6

View File

@ -98,6 +98,9 @@ var getStats = function(){
connectedNodes = stats['connectedNodes'].split('\n') connectedNodes = stats['connectedNodes'].split('\n')
document.getElementById('connectedNodesIframe').srcdoc = '<pre>' document.getElementById('connectedNodesIframe').srcdoc = '<pre>'
for (x = 0; x < connectedNodes.length; x++){ for (x = 0; x < connectedNodes.length; x++){
if (! x){
continue
}
document.getElementById('connectedNodesIframe').srcdoc += '🧅 ' + connectedNodes[x] + '\n' document.getElementById('connectedNodesIframe').srcdoc += '🧅 ' + connectedNodes[x] + '\n'
} }
document.getElementById('connectedNodesIframe').srcdoc += '</pre>' document.getElementById('connectedNodesIframe').srcdoc += '</pre>'