Commit db83cd0c authored by David Schnur's avatar David Schnur

Merge pull request #877 from dnschnur/jquery-1.8-support

Tested, verified and fixed support for jQuery 1.8.
parents e4803132 5951dcb0
...@@ -191,7 +191,7 @@ More detail and specific examples can be found in the included HTML file. ...@@ -191,7 +191,7 @@ More detail and specific examples can be found in the included HTML file.
function setupPie() function setupPie()
{ {
legendWidth = target.children().filter('.legend').children().width(); legendWidth = target.children().filter('.legend').children().width() || 0;
// calculate maximum radius and center point // calculate maximum radius and center point
maxRadius = Math.min(canvasWidth,(canvasHeight/options.series.pie.tilt))/2; maxRadius = Math.min(canvasWidth,(canvasHeight/options.series.pie.tilt))/2;
......
This source diff could not be displayed because it is too large. You can view the blob instead.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment