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