Commit 5951dcb0 authored by David Schnur's avatar David Schnur

Ensure that pie's legendWidth remains numeric.

Substitute zero when .width() returns undefined, since legendWidth is
used in numeric calculations that break when it is undefined.  This
became a problem with the release of jQuery 1.8.0, which returns
undefined instead of null when an element doesn't exist.  This was fixed
in 1.8.1, but this is good practice anyway.
parent 4e38170f
This diff is collapsed.
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