summaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2020-09-13 21:00:07 +0300
committerAndrew Dolgov <[email protected]>2020-09-13 21:00:07 +0300
commite538f89ec13575c1b92c2a011480849d4ac5fa61 (patch)
treef82ab1c374a4de3c36e7cd658d728eaaaf14709f /js
parentb250050acdc311c975ecf410408e94516e05932b (diff)
set color css attributes to blank instead of inherit (breaks themes)
Diffstat (limited to 'js')
-rw-r--r--js/reader.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/js/reader.js b/js/reader.js
index 6d4b19e..5410fd4 100644
--- a/js/reader.js
+++ b/js/reader.js
@@ -718,9 +718,9 @@ const Reader = {
/* embedded styles may conflict with our font sizes, etc */
$(c.document).find("p, span, em, strong, body")
.attr("class", "")
- .css("color", "inherit")
- .css("background", "inherit")
- .css("background-color", "inherit")
+ .css("color", "")
+ .css("background", "")
+ .css("background-color", "")
$(c.document).find("p")
.css("text-indent", "1em");