Skip to content

Commit 0607d45

Browse files
committed
Fixed undeclared variable in drawLegend function
1 parent 286e54e commit 0607d45

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

js/jquery.mapael.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -686,7 +686,8 @@
686686
, x = 0
687687
, y = 0
688688
, yCenter = 0
689-
, sliceAttrs = [];
689+
, sliceAttrs = []
690+
, length = 0;
690691

691692
if (!legendOptions.slices || !legendOptions.display)
692693
return;

0 commit comments

Comments
 (0)