projects
/
app.webkitpdf
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
67160b9
)
domains/coconuts.co.js
author
Alan Knowles
<alan@roojs.com>
Thu, 14 Apr 2016 02:23:00 +0000
(10:23 +0800)
committer
Alan Knowles
<alan@roojs.com>
Thu, 14 Apr 2016 02:23:00 +0000
(10:23 +0800)
domains/coconuts.co.js
patch
|
blob
|
history
diff --git
a/domains/coconuts.co.js
b/domains/coconuts.co.js
index
31dc9fa
..
673bf3b
100644
(file)
--- a/
domains/coconuts.co.js
+++ b/
domains/coconuts.co.js
@@
-18,7
+18,9
@@
continue;
}
var m = ar[i].getAttribute('media');
- conole.log(m);
+ if (!m) {
+ continue;
+ }
if (m.match(/print/)) {
ar[i].setAttribute('media','speech'); // hacky
continue;