Skip to content

Commit

Permalink
Regression in styled mode after modifying axis labels.
Browse files Browse the repository at this point in the history
  • Loading branch information
TorsteinHonsi committed May 7, 2018
1 parent 162adad commit 75f4145
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion js/parts/Axis.js
Expand Up @@ -4156,7 +4156,12 @@ H.extend(Axis.prototype, /** @lends Highcharts.Axis.prototype */{
label.css(css);

// Reset previously shortened label (#8210)
} else if (label.styles.width && !css.width && !widthOption) {
} else if (
label.styles &&
label.styles.width &&
!css.width &&
!widthOption
) {
label.css({ width: null });
}

Expand Down

0 comments on commit 75f4145

Please sign in to comment.