projects
/
dygraphs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
update changes.html to reflect auto_tests
[dygraphs.git]
/
gallery
/
gallery.js
diff --git
a/gallery/gallery.js
b/gallery/gallery.js
index
121f541
..
e854a7a
100644
(file)
--- a/
gallery/gallery.js
+++ b/
gallery/gallery.js
@@
-90,9
+90,11
@@
Gallery.start = function() {
Gallery.textarea.show("Javascript", demo.run.toString());
};
Gallery.textarea.show("Javascript", demo.run.toString());
};
- cssLink.onclick = function() {
- Gallery.textarea.show("CSS", css);
- };
+ if (css) {
+ cssLink.onclick = function() {
+ Gallery.textarea.show("CSS", css);
+ };
+ }
demo.run(Gallery.workareaChild);
Gallery.runningDemo = demo;
demo.run(Gallery.workareaChild);
Gallery.runningDemo = demo;