Commit 91d25489 authored by Luis Silva's avatar Luis Silva

Added curly braces to match flot style guidelines

parent 3041b38d
......@@ -2626,10 +2626,11 @@ 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;
......
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