Skip to content

Commit

Permalink
Don't display authors in tooltip if "?".
Browse files Browse the repository at this point in the history
  • Loading branch information
trvrb committed May 29, 2016
1 parent 4e09d07 commit ca7f220
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion auspice/js/auspice/tooltips.js
Expand Up @@ -45,7 +45,7 @@ var virusTooltip = d3.tip()
}
}
if (typeof d.authors != "undefined") {
if (d.authors != "") {
if ((d.authors != "") && (d.authors != "?")) {
string += "<br>Authors: " + d.authors.substring(0,25);
if (d.authors.length>25) string += '...';
}
Expand Down

0 comments on commit ca7f220

Please sign in to comment.