fix extra onion icon displaying in stat panel
This commit is contained in:
parent
84987cfc21
commit
418237cfc6
@ -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>'
|
||||||
|
Loading…
Reference in New Issue
Block a user