Merge from master

This commit is contained in:
Ozzieisaacs
2019-12-22 15:28:43 +01:00
parent 288944db2c
commit bbe91f439a
7 changed files with 36 additions and 112 deletions
+4 -1
View File
@@ -1,12 +1,14 @@
/* global $, calibre, EPUBJS, ePubReader */
var reader;
(function() {
"use strict";
EPUBJS.filePath = calibre.filePath;
EPUBJS.cssPath = calibre.cssPath;
var reader = ePubReader(calibre.bookUrl, {
reader = ePubReader(calibre.bookUrl, {
restore: true,
bookmarks: calibre.bookmark ? [calibre.bookmark] : []
});
@@ -40,4 +42,5 @@
alert(error);
});
}
// reader.book.package.metadata.direction= "rtl"; wait for reader reader before changing reading direction
})();