Browse Source

Merge pull request #2 from Opsimize/window-resize-crunch

Resize
pull/205/head
Jake 11 years ago
parent
commit
e171206195
  1. 12
      c3.js

12
c3.js

@ -2787,18 +2787,6 @@
.style("left", __tooltip_init_position.left)
.style("display", "block");
}
// Bind resize event
if (window.onresize == null) {
window.onresize = generateResize();
}
if (window.onresize.add) {
window.onresize.add(__onresize);
window.onresize.add(function () {
updateAndRedraw({withLegend: true, withTransition: false, withTransitionForTransform: false});
});
window.onresize.add(__onresized);
}
}
function generateEventRectsForSingleX(eventRectEnter) {

Loading…
Cancel
Save