From ed676793434b2009da63d383af887d5f9158fb35 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Fri, 2 Feb 2018 08:46:25 +0300 Subject: disable workarounds for epub inline styles because they break legitimate per-paragraph styles --- js/read.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'js') 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"); */ }); -- cgit v1.2.3