From 4886ad474e42fdad6da81f5de3acf787f4e25fa4 Mon Sep 17 00:00:00 2001 From: LV-426 Date: Sun, 9 Nov 2014 19:17:08 +0200 Subject: id wrap entire svg canvas --- scripts/rhizicore.js | 1 + 1 file changed, 1 insertion(+) (limited to 'scripts') diff --git a/scripts/rhizicore.js b/scripts/rhizicore.js index f2359382..ed2beece 100644 --- a/scripts/rhizicore.js +++ b/scripts/rhizicore.js @@ -77,6 +77,7 @@ var initDrawingArea = function () { zoomObject = d3.behavior.zoom().scaleExtent([0.1, 3]).on("zoom", zoom); vis = d3.select(el).append("svg:svg") + .attr('id', 'canvas_d3') .attr("width", '100%') .attr("height", '100%') .attr("pointer-events", "all") -- cgit v1.3.1