Merge pull request #24 from nlemoine/master

afterUpdate call: fixed undefined opt
This commit is contained in:
Vincent Brouté
2014-01-19 03:21:21 -08:00
+1
View File
@@ -172,6 +172,7 @@
$.fn.mapael.updateElem(elemOptions, plots[id], $tooltip, animDuration);
}
if( typeof opt != 'undefined' )
opt.afterUpdate && opt.afterUpdate($self, paper, areas, plots, options);
});