fix scrollbars in FF13
parent
0bc0760f89
commit
ba895ba396
|
@ -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")
|
||||||
|
|
Loading…
Reference in New Issue