From 9a5a323c2d19d48b38b8168206aa4d0a59dcd07e Mon Sep 17 00:00:00 2001 From: Vanhala Antti Date: Sun, 30 Mar 2014 16:42:11 +0300 Subject: [PATCH] Fix graph for Firefox --- web/static/network.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/web/static/network.js b/web/static/network.js index 01d02da..9ea84a9 100644 --- a/web/static/network.js +++ b/web/static/network.js @@ -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) { '' + node.id + '
' + '
' + 'Version: ' + node.version + '
' + - 'Location: Helsinki, Finland
' + 'Peers: ' + node.peers.length + '
' + '' + // '' +
Their peers #