Commit 6008cd7a authored by David Schnur's avatar David Schnur

Merge pull request #1160 from luisvsilva/master

Fixed Issue #1159 - Bug Redrawing Legend when using custom container
parents 5d99034e 91d25489
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment