From ba895ba39601f3c3d5118cd916d618c853530b7c Mon Sep 17 00:00:00 2001 From: Nils Schneider Date: Fri, 8 Jun 2012 02:57:04 +0200 Subject: [PATCH] fix scrollbars in FF13 --- html/force.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/html/force.js b/html/force.js index 9d0c5e4..0d0964d 100644 --- a/html/force.js +++ b/html/force.js @@ -12,7 +12,7 @@ function getOffset( el ) { var offset = getOffset(document.getElementById('chart')) var w = window.innerWidth - offset.left, - h = window.innerHeight - offset.top + h = window.innerHeight - offset.top - 1 var cp = d3.select("#chart").append("div") .attr("id", "controlpanel")