Skip to content

Commit

Permalink
Fixed undeclared variable in drawLegend function
Browse files Browse the repository at this point in the history
  • Loading branch information
neveldo committed May 17, 2015
1 parent 286e54e commit 0607d45
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion js/jquery.mapael.js
Original file line number Diff line number Diff line change
Expand Up @@ -686,7 +686,8 @@
, x = 0
, y = 0
, yCenter = 0
, sliceAttrs = [];
, sliceAttrs = []
, length = 0;

if (!legendOptions.slices || !legendOptions.display)
return;
Expand Down

0 comments on commit 0607d45

Please sign in to comment.