summaryrefslogtreecommitdiff
path: root/read.html
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2018-02-01 15:05:17 +0300
committerAndrew Dolgov <[email protected]>2018-02-01 15:05:17 +0300
commit9de9c18e8f09e8a901d78a55f6c453b2c6e1fd23 (patch)
tree83eca3408ae2372a46a959b6dc4059a8d56d64a2 /read.html
parent9fec33465bfec462ae9687e3270bc9dcabd83b08 (diff)
Revert "cleanup inlined epub styles on render"
This reverts commit 9fec33465bfec462ae9687e3270bc9dcabd83b08.
Diffstat (limited to 'read.html')
-rw-r--r--read.html15
1 files changed, 0 insertions, 15 deletions
diff --git a/read.html b/read.html
index c552960..03ff9e3 100644
--- a/read.html
+++ b/read.html
@@ -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){