disable epub.js zoom

This commit is contained in:
j 2019-01-22 20:42:12 +05:30
parent 70ce34b353
commit cbb57f0daa

View file

@ -3344,6 +3344,7 @@ EPUBJS.Reader.prototype.adjustFontSize = function(e) {
if(!this.settings.styles) return; if(!this.settings.styles) return;
/*
if(!this.settings.styles.fontSize) { if(!this.settings.styles.fontSize) {
this.settings.styles.fontSize = "100%"; this.settings.styles.fontSize = "100%";
} }
@ -3366,6 +3367,7 @@ EPUBJS.Reader.prototype.adjustFontSize = function(e) {
e.preventDefault(); e.preventDefault();
this.book.setStyle("fontSize", "100%"); this.book.setStyle("fontSize", "100%");
} }
*/
}; };
EPUBJS.Reader.prototype.addBookmark = function(cfi) { EPUBJS.Reader.prototype.addBookmark = function(cfi) {
@ -4369,4 +4371,4 @@ EPUBJS.reader.TocController = function(toc) {
}; };
}; };
//# sourceMappingURL=reader.js.map //# sourceMappingURL=reader.js.map