diff options
-rw-r--r-- | js/read.js | 4 | ||||
-rw-r--r-- | read.html | 4 |
2 files changed, 4 insertions, 4 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"); */ }); @@ -678,7 +678,7 @@ console.log('tn', themeName); }; }); - book.on("renderer:chapterDisplayed", function() { + /* book.on("renderer:chapterDisplayed", function() { // variables defined above after reading from localforage @@ -691,7 +691,7 @@ console.log('tn', themeName); .css("line-height", lineHeight) .css("text-align", "justify"); - }); + }); */ book.on("renderer:keydown", hotkey_handler); |