diff --git a/c3.js b/c3.js index 03a40f6..b3d467f 100644 --- a/c3.js +++ b/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) {