summaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2021-08-25 22:03:36 +0300
committerAndrew Dolgov <[email protected]>2021-08-25 22:03:36 +0300
commit189d771936663ff0d8b487420f35f8773b3d0bb8 (patch)
treebb94cc6556023912582fca015bd2ef22755d4437 /js
parentd3f276aa84c953e8c1a243312f68138e55f730a5 (diff)
use inherit for font-family/size
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 03d5ff3..07c167e 100644
--- a/js/reader.js
+++ b/js/reader.js
@@ -554,8 +554,8 @@ const Reader = {
$(doc).find("a, p, span, em, i, strong, b, body, header, section, div, big, small")
.attr("class", "")
- .css("font-family", "revert")
- .css("font-size", "revert")
+ .css("font-family", "inherit")
+ .css("font-size", "inherit")
.css("color", "")
.css("border", "none ! important")
.css("background", "")
@@ -564,7 +564,7 @@ const Reader = {
// same as above except for allowed font-size
$(doc).find("h1, h2, h3, h4, h5")
.attr("class", "")
- .css("font-family", "revert")
+ .css("font-family", "inherit")
.css("color", "")
.css("border", "none ! important")
.css("background", "")