From 91d254894d76a64de57a7ade75cb6a790d9ab34b Mon Sep 17 00:00:00 2001 From: Luis Silva Date: Mon, 14 Oct 2013 21:13:24 +0930 Subject: [PATCH] Added curly braces to match flot style guidelines --- jquery.flot.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/jquery.flot.js b/jquery.flot.js index 4def83c..a52c759 100644 --- a/jquery.flot.js +++ b/jquery.flot.js @@ -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;