From 5e893479ccd080f111175aa9bd12f9338188173f Mon Sep 17 00:00:00 2001 From: Joshua Date: Tue, 12 Jun 2012 21:06:29 -0400 Subject: [PATCH] updated check for empty string --- plugins/legend.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/legend.js b/plugins/legend.js index 9a7caf9..5f7ac7e 100644 --- a/plugins/legend.js +++ b/plugins/legend.js @@ -210,7 +210,7 @@ var generateLegendHTML = function(g, x, sel_points, oneEmWidth) { var xOptView = g.optionsViewForAxis_('x'); var xvf = xOptView('valueFormatter'); html = xvf(x, xOptView, labels[0], g); - if(html) { + if(html !== '') { html += ':'; } -- 2.7.4