projects
/
dygraphs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a6c2695
)
Gallery failure when CSS does not exist.
author
Robert Konigsberg
<konigsberg@google.com>
Mon, 27 Feb 2012 14:09:55 +0000
(09:09 -0500)
committer
Robert Konigsberg
<konigsberg@google.com>
Mon, 27 Feb 2012 14:09:55 +0000
(09:09 -0500)
gallery/gallery.js
patch
|
blob
|
blame
|
history
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());
};
- 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;