From 47017263028ddecd396640487dcf4fa546181c83 Mon Sep 17 00:00:00 2001 From: David Schnur Date: Sun, 3 Nov 2013 08:07:24 -0800 Subject: [PATCH] Additional style fixes on code merged from #1160. --- jquery.flot.js | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/jquery.flot.js b/jquery.flot.js index ef2cc77..df0acda 100644 --- a/jquery.flot.js +++ b/jquery.flot.js @@ -2626,14 +2626,15 @@ Licensed under the MIT license. function insertLegend() { - if (options.legend.container!= null) { + if (options.legend.container != null) { $(options.legend.container).html(""); } else { placeholder.find(".legend").remove(); - } - - if (!options.legend.show) + } + + if (!options.legend.show) { return; + } var fragments = [], entries = [], rowStarted = false, lf = options.legend.labelFormatter, s, label;