diff --git a/Chart.js b/Chart.js index 21edb16a8..7cdf767e3 100644 --- a/Chart.js +++ b/Chart.js @@ -2335,10 +2335,8 @@ bar.restore(['fillColor', 'strokeColor']); }); helpers.each(activeBars, function(activeBar){ - if (activeBar) { - activeBar.fillColor = activeBar.highlightFill; - activeBar.strokeColor = activeBar.highlightStroke; - } + activeBar.fillColor = activeBar.highlightFill; + activeBar.strokeColor = activeBar.highlightStroke; }); this.showTooltip(activeBars); }); @@ -3731,4 +3729,4 @@ -}).call(this); +}).call(this); \ No newline at end of file