disable epub.js zoom

This commit is contained in:
j 2019-01-22 20:42:12 +05:30
parent 70ce34b353
commit cbb57f0daa
1 changed files with 3 additions and 1 deletions

View File

@ -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
//# sourceMappingURL=reader.js.map