From ca7f22036d54ffee53eae085e24a8119fba1d2b1 Mon Sep 17 00:00:00 2001 From: Trevor Bedford Date: Sun, 29 May 2016 08:59:49 -0700 Subject: [PATCH] Don't display authors in tooltip if "?". --- auspice/js/auspice/tooltips.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/auspice/js/auspice/tooltips.js b/auspice/js/auspice/tooltips.js index d0be79cd..e7c5096d 100644 --- a/auspice/js/auspice/tooltips.js +++ b/auspice/js/auspice/tooltips.js @@ -45,7 +45,7 @@ var virusTooltip = d3.tip() } } if (typeof d.authors != "undefined") { - if (d.authors != "") { + if ((d.authors != "") && (d.authors != "?")) { string += "
Authors: " + d.authors.substring(0,25); if (d.authors.length>25) string += '...'; }