Skip to content

Commit

Permalink
Updated fix for #608 to work around JS error in Firefox.
Browse files Browse the repository at this point in the history
  • Loading branch information
TorsteinHonsi committed May 3, 2012
1 parent 0618b3b commit e0a966d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion js/highcharts.src.js
Expand Up @@ -2740,7 +2740,7 @@ SVGRenderer.prototype = {
* has display: none. #608.
*/
isHidden: function () {
return !this.box.getBBox().width;
return !this.boxWrapper.getBBox().width;
},

/**
Expand Down
2 changes: 1 addition & 1 deletion js/highstock.src.js
Expand Up @@ -2740,7 +2740,7 @@ SVGRenderer.prototype = {
* has display: none. #608.
*/
isHidden: function () {
return !this.box.getBBox().width;
return !this.boxWrapper.getBBox().width;
},

/**
Expand Down
2 changes: 1 addition & 1 deletion js/parts/SvgRenderer.js
Expand Up @@ -1056,7 +1056,7 @@ SVGRenderer.prototype = {
* has display: none. #608.
*/
isHidden: function () {
return !this.box.getBBox().width;
return !this.boxWrapper.getBBox().width;
},

/**
Expand Down

0 comments on commit e0a966d

Please sign in to comment.