From cbb57f0daad16552feb6f0dd7712b7c7e03d8280 Mon Sep 17 00:00:00 2001 From: j Date: Tue, 22 Jan 2019 20:42:12 +0530 Subject: [PATCH] disable epub.js zoom --- epub.js/js/reader.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/epub.js/js/reader.js b/epub.js/js/reader.js index 047e344..db8439a 100644 --- a/epub.js/js/reader.js +++ b/epub.js/js/reader.js @@ -3344,6 +3344,7 @@ EPUBJS.Reader.prototype.adjustFontSize = function(e) { if(!this.settings.styles) return; + /* if(!this.settings.styles.fontSize) { this.settings.styles.fontSize = "100%"; } @@ -3366,6 +3367,7 @@ EPUBJS.Reader.prototype.adjustFontSize = function(e) { e.preventDefault(); this.book.setStyle("fontSize", "100%"); } + */ }; EPUBJS.Reader.prototype.addBookmark = function(cfi) { @@ -4369,4 +4371,4 @@ EPUBJS.reader.TocController = function(toc) { }; }; -//# sourceMappingURL=reader.js.map \ No newline at end of file +//# sourceMappingURL=reader.js.map