summaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
Diffstat (limited to 'js')
-rw-r--r--js/reader.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/js/reader.js b/js/reader.js
index b8549c5..70807a9 100644
--- a/js/reader.js
+++ b/js/reader.js
@@ -497,6 +497,8 @@ const Reader = {
$(doc).find("a, p, span, em, i, strong, b, body, div, big, small")
.attr("class", "")
+ .css("font-family", "inherit")
+ .css("font-size", "inherit")
.css("color", "")
.css("background", "")
.css("background-color", "");
@@ -858,7 +860,8 @@ const Reader = {
$("body")
.attr("class", typeof EpubeApp != "undefined" ? "is-epube-app" : "")
- .addClass("epube-reader theme-" + theme);
+ .addClass("epube-reader theme-" + theme)
+ .attr("data-is-loading", "false");
if (typeof EpubeApp != "undefined") {