summaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2018-02-02 08:46:25 +0300
committerAndrew Dolgov <[email protected]>2018-02-02 08:46:25 +0300
commited676793434b2009da63d383af887d5f9158fb35 (patch)
tree505e5c41801cbbb81f22a856db40aba5ace3ae31 /js
parenta5cb605e450f57ee7b548027451e00b8bb1a3fb6 (diff)
disable workarounds for epub inline styles because they break legitimate per-paragraph styles
Diffstat (limited to 'js')
-rw-r--r--js/read.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/js/read.js b/js/read.js
index ec85233..036b348 100644
--- a/js/read.js
+++ b/js/read.js
@@ -149,14 +149,14 @@ function apply_styles() {
book.setStyle("lineHeight", lineHeight);
book.setStyle("textAlign", "justify");
- $("#reader iframe").contents().find("p")
+/* $("#reader iframe").contents().find("p")
.css("background", "")
.css("color", "")
.css("background-color", "")
.css("font-family", fontFamily)
.css("font-size", fontSize)
.css("line-height", lineHeight)
- .css("text-align", "justify");
+ .css("text-align", "justify"); */
});