fix scrollbars in FF13

This commit is contained in:
Nils Schneider 2012-06-08 02:57:04 +02:00
parent 0bc0760f89
commit ba895ba396

View file

@ -12,7 +12,7 @@ function getOffset( el ) {
var offset = getOffset(document.getElementById('chart')) var offset = getOffset(document.getElementById('chart'))
var w = window.innerWidth - offset.left, var w = window.innerWidth - offset.left,
h = window.innerHeight - offset.top h = window.innerHeight - offset.top - 1
var cp = d3.select("#chart").append("div") var cp = d3.select("#chart").append("div")
.attr("id", "controlpanel") .attr("id", "controlpanel")