app/assets/javascripts/highcharts/modules/static-scale.js in highcharts-rails-6.0.2 vs app/assets/javascripts/highcharts/modules/static-scale.js in highcharts-rails-6.0.3

- old
+ new

@@ -1,7 +1,7 @@ /** - * @license Highcharts JS v6.0.2 (2017-10-20) + * @license Highcharts JS v6.0.3 (2017-11-14) * StaticScale * * (c) 2016 Torstein Honsi, Lars A. V. Cabrera * * --- WORK IN PROGRESS --- @@ -56,13 +56,9 @@ } }); this.initiatedScale = true; }; - Chart.prototype.callbacks.push(function(chart) { - H.addEvent(this, 'render', function() { - chart.adjustHeight(); - }); - }); + H.addEvent(Chart.prototype, 'render', Chart.prototype.adjustHeight); }(Highcharts)); }));