diff options
author | Andrew Dolgov <[email protected]> | 2018-02-02 08:46:25 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2018-02-02 08:46:25 +0300 |
commit | ed676793434b2009da63d383af887d5f9158fb35 (patch) | |
tree | 505e5c41801cbbb81f22a856db40aba5ace3ae31 /js | |
parent | a5cb605e450f57ee7b548027451e00b8bb1a3fb6 (diff) |
disable workarounds for epub inline styles because they break legitimate per-paragraph styles
Diffstat (limited to 'js')
-rw-r--r-- | js/read.js | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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"); */ }); |