diff options
author | Andrew Dolgov <[email protected]> | 2018-02-01 15:05:17 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2018-02-01 15:05:17 +0300 |
commit | 9de9c18e8f09e8a901d78a55f6c453b2c6e1fd23 (patch) | |
tree | 83eca3408ae2372a46a959b6dc4059a8d56d64a2 | |
parent | 9fec33465bfec462ae9687e3270bc9dcabd83b08 (diff) |
Revert "cleanup inlined epub styles on render"
This reverts commit 9fec33465bfec462ae9687e3270bc9dcabd83b08.
-rw-r--r-- | read.html | 15 |
1 files changed, 0 insertions, 15 deletions
@@ -647,21 +647,6 @@ }; }); - book.on("renderer:chapterDisplayed", function() { - - // cleanup possibly interfering styles - var c = $("#reader iframe").contents(); - - c.find("p") - .removeAttr("style") - .removeAttr("class") - .css("margin", "0px"); - - c.find("*") - .removeAttr("class"); - - }); - book.on("renderer:keydown", hotkey_handler); book.getMetadata().then(function(meta){ |