mirror of
https://github.com/cwinfo/yggdrasil-map
synced 2024-11-22 12:50:27 +00:00
Fix graph for Firefox
This commit is contained in:
parent
d51755e097
commit
9a5a323c2d
@ -45,7 +45,7 @@ function drawText(ctx, x, y, text, color, font) {
|
|||||||
|
|
||||||
function drawNetwork() {
|
function drawNetwork() {
|
||||||
ctx.save();
|
ctx.save();
|
||||||
ctx.resetTransform();
|
ctx.setTransform(1, 0, 0, 1, 0, 0);
|
||||||
ctx.clearRect(0, 0, canvas.width, canvas.height);
|
ctx.clearRect(0, 0, canvas.width, canvas.height);
|
||||||
ctx.restore();
|
ctx.restore();
|
||||||
|
|
||||||
@ -175,7 +175,6 @@ function showNodeInfo(node) {
|
|||||||
'<span class="tt">' + node.id + '</span><br>' +
|
'<span class="tt">' + node.id + '</span><br>' +
|
||||||
'<br>' +
|
'<br>' +
|
||||||
'<strong>Version:</strong> ' + node.version + '<br>' +
|
'<strong>Version:</strong> ' + node.version + '<br>' +
|
||||||
'<strong>Location:</strong> Helsinki, Finland<br>' +
|
|
||||||
'<strong>Peers:</strong> ' + node.peers.length + '<br>' +
|
'<strong>Peers:</strong> ' + node.peers.length + '<br>' +
|
||||||
'<table>' +
|
'<table>' +
|
||||||
// '<tr><td></td><td><strong>Their peers #</strong></td></tr>' +
|
// '<tr><td></td><td><strong>Their peers #</strong></td></tr>' +
|
||||||
|
Loading…
Reference in New Issue
Block a user