X-Git-Url: https://adrianiainlam.tk/git/?a=blobdiff_plain;ds=inline;f=tests%2Fannotation.html;h=b95c788d6e09c386eab56df3a767be0a614338dc;hb=b56b6993ddcd594f46d93c3fff74d1f41ab86ac3;hp=09024962ca3fe35eb5285ac50c59cc9e36ddfa14;hpb=10494b48b43d9ca8710d441d3c530c7d546f3edf;p=dygraphs.git
diff --git a/tests/annotation.html b/tests/annotation.html
index 0902496..b95c788 100644
--- a/tests/annotation.html
+++ b/tests/annotation.html
@@ -59,8 +59,8 @@
for (var i = 0; i < ann.length; i++) {
var name = nameAnnotation(ann[i]);
html += ""
- html += name + ": " + ann[i].shortText + " -> ";
- html += ann[i].text + "
";
+ html += name + ": " + (ann[i].shortText || '(icon)')
+ html += " -> " + ann[i].text + "
";
}
document.getElementById("list").innerHTML = html;
}