diff --git a/js/jquery.mapael.js b/js/jquery.mapael.js index a8eb17b..4aedf84 100644 --- a/js/jquery.mapael.js +++ b/js/jquery.mapael.js @@ -686,7 +686,8 @@ , x = 0 , y = 0 , yCenter = 0 - , sliceAttrs = []; + , sliceAttrs = [] + , length = 0; if (!legendOptions.slices || !legendOptions.display) return;