5
0
mirror of https://github.com/cwinfo/yggdrasil-map synced 2024-11-22 07:00:28 +00:00

Fix graph for Firefox

This commit is contained in:
Vanhala Antti 2014-03-30 16:42:11 +03:00
parent d51755e097
commit 9a5a323c2d

View File

@ -45,7 +45,7 @@ function drawText(ctx, x, y, text, color, font) {
function drawNetwork() {
ctx.save();
ctx.resetTransform();
ctx.setTransform(1, 0, 0, 1, 0, 0);
ctx.clearRect(0, 0, canvas.width, canvas.height);
ctx.restore();
@ -175,7 +175,6 @@ function showNodeInfo(node) {
'<span class="tt">' + node.id + '</span><br>' +
'<br>' +
'<strong>Version:</strong> ' + node.version + '<br>' +
'<strong>Location:</strong> Helsinki, Finland<br>' +
'<strong>Peers:</strong> ' + node.peers.length + '<br>' +
'<table>' +
// '<tr><td></td><td><strong>Their peers #</strong></td></tr>' +