Fixed Issue #1159 - Bug Redrawing Legend when using custom container

master
Luis Silva 13 years ago
parent 836c9f15ff
commit 3041b38d8d

@ -2626,7 +2626,10 @@ Licensed under the MIT license.
function insertLegend() {
placeholder.find(".legend").remove();
if (options.legend.container!= null)
$(options.legend.container).html("");
else
placeholder.find(".legend").remove();
if (!options.legend.show)
return;

Loading…
Cancel
Save