mirror of
https://github.com/Yetangitu/owncloud-apps.git
synced 2025-10-02 14:49:17 +02:00
files_reader: new version of epub.js, using JSZip.
files_opds: empty bookshelf seems to cause problems for some, now fixed.
This commit is contained in:
parent
394533fd14
commit
77143932b8
19 changed files with 7923 additions and 127 deletions
|
@ -54,17 +54,6 @@ document.onreadystatechange = function () {
|
|||
EPUBJS.filePath = "js/libs/";
|
||||
EPUBJS.cssPath = "css/";
|
||||
|
||||
// device-specific rules
|
||||
//
|
||||
// webworkers...
|
||||
if(!window.Worker) {
|
||||
// use zip.js without webworkers, include inflate.js
|
||||
zip.useWebWorkers = false;
|
||||
$.getScript('js/libs/inflate.js');
|
||||
} else {
|
||||
zip.workerScriptsPath = document.getElementsByTagName('base')[0].href + 'js/libs/';
|
||||
}
|
||||
|
||||
// touch-enabled devices...
|
||||
$('#touch_nav').prop('checked', !('ontouchstart' in document.documentElement));
|
||||
if (!($('#touch_nav').prop('checked'))) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue