projects
/
app.webkitpdf
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
db6af97
)
inliner.js
author
Alan Knowles
<alan@roojs.com>
Thu, 12 Nov 2015 06:22:51 +0000
(14:22 +0800)
committer
Alan Knowles
<alan@roojs.com>
Thu, 12 Nov 2015 06:22:51 +0000
(14:22 +0800)
inliner.js
patch
|
blob
|
history
diff --git
a/inliner.js
b/inliner.js
index
0632701
..
533973e
100644
(file)
--- a/
inliner.js
+++ b/
inliner.js
@@
-18,7
+18,7
@@
console.log(dom.nodeName);
var style = window.getComputedStyle(dom, null);
- if (style.display == 'none') {
+ if (style.display == 'none'
|| dom.nodeName == "NOSCRIPT" || dom.nodeName == "SCRIPT"
) {
dom.parentElement.removeChild(dom);
return;
}