Skip to content

Commit

Permalink
Ensure donut defaults can be changed independently to pie defaults.
Browse files Browse the repository at this point in the history
  • Loading branch information
benpickles committed Oct 15, 2014
1 parent 28ab236 commit c973038
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jquery.peity.js
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@

peity.register(
'donut',
peity.defaults.pie,
$.extend(true, {}, peity.defaults.pie),
function(opts) {
if (!opts.innerRadius) opts.innerRadius = opts.radius * 0.5
peity.graphers.pie.call(this, opts)
Expand Down

0 comments on commit c973038

Please sign in to comment.