From 0607d45a8186619736654e864248d817c9c9c281 Mon Sep 17 00:00:00 2001 From: neveldo Date: Sun, 17 May 2015 23:12:39 +0200 Subject: [PATCH] Fixed undeclared variable in drawLegend function --- js/jquery.mapael.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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;