make zoom button same as init zoom

This commit is contained in:
Oliver Gorwits
2017-12-31 09:31:26 +00:00
parent d332eaf293
commit 3f954c3590

View File

@@ -159,7 +159,7 @@
$('#nd_netmap-zoomtodevice').on('click', function(event) {
event.preventDefault();
var node = graph.nodeDataById( graph['nd2']['centernode'] );
graph.zoomSmooth(node.x, node.y, node.radius * 100);
graph.zoomSmooth(node.x, node.y, node.radius * 125);
});
// activity for admin tasks in device details