diff options
Diffstat (limited to 'scripts')
| -rw-r--r-- | scripts/rhizicore.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/rhizicore.js b/scripts/rhizicore.js index 455c4ab5..3d7871f0 100644 --- a/scripts/rhizicore.js +++ b/scripts/rhizicore.js @@ -374,8 +374,8 @@ function myGraph(el) { zoomObject = d3.behavior.zoom().scaleExtent([0.1, 3]).on("zoom", zoom); vis = this.vis = d3.select(el).append("svg:svg") - .attr("width", Math.max(w, 1000) * 5) - .attr("height", Math.max(h, 1000) ) + .attr("width", '100%') + .attr("height", '100%') .attr("pointer-events", "all") .append("g") .call(zoomObject) |
