projects
/
dygraphs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
works in IE8
[dygraphs.git]
/
tests
/
annotation.html
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 + "'>"
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;
}
}
document.getElementById("list").innerHTML = html;
}