projects
/
dygraphs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
25c2433
)
fix issue 170
author
Dan Vanderkam
<dan@dygraphs.com>
Wed, 23 Mar 2011 16:08:19 +0000
(12:08 -0400)
committer
Dan Vanderkam
<dan@dygraphs.com>
Wed, 23 Mar 2011 16:08:19 +0000
(12:08 -0400)
tests/annotation.html
patch
|
blob
|
blame
|
history
diff --git
a/tests/annotation.html
b/tests/annotation.html
index
0902496
..
b95c788
100644
(file)
--- 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 += "<span id='" + name + "'>"
- html += name + ": " +
ann[i].shortText + " -> ";
- html += ann[i].text + "</span><br/>";
+ html += name + ": " +
(ann[i].shortText || '(icon)')
+ html +=
" -> " +
ann[i].text + "</span><br/>";
}
document.getElementById("list").innerHTML = html;
}