Merge pull request #1160 from luisvsilva/master

Fixed Issue #1159 - Bug Redrawing Legend when using custom container
master
David Schnur 13 years ago
commit 6008cd7a1d

@ -2626,8 +2626,12 @@ 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