mirror of
https://github.com/Yetangitu/owncloud-apps.git
synced 2025-10-02 14:49:17 +02:00
- files_reader: v1.2.0, implemented night mode, scroll to top on page
change (#73), default viewer selection in personal preferences section (#74), fixed undefined $title in template (#72)
This commit is contained in:
parent
d7df75fbc3
commit
6b0ab64fe4
33 changed files with 810 additions and 622 deletions
|
@ -133,9 +133,12 @@
|
|||
}
|
||||
});
|
||||
|
||||
fileActions.setDefault('application/epub+zip', 'view-epub');
|
||||
fileActions.setDefault('application/x-cbr', 'view-cbr');
|
||||
fileActions.setDefault('application/pdf', 'view-pdf');
|
||||
if (oc_appconfig.filesReader.enableEpub === 'true')
|
||||
fileActions.setDefault('application/epub+zip', 'view-epub');
|
||||
if (oc_appconfig.filesReader.enableCbr === 'true')
|
||||
fileActions.setDefault('application/x-cbr', 'view-cbr');
|
||||
if (oc_appconfig.filesReader.enablePdf === 'true')
|
||||
fileActions.setDefault('application/pdf', 'view-pdf');
|
||||
}
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue