mirror of
https://github.com/haiwen/seahub.git
synced 2025-08-19 15:38:38 +00:00
[pdf full view] fixed 'images' path bug
This commit is contained in:
parent
07933dfc14
commit
536990add6
@ -54,7 +54,7 @@ var FindStates = {
|
||||
FIND_PENDING: 3
|
||||
};
|
||||
|
||||
PDFJS.imageResourcesPath = './images/';
|
||||
//PDFJS.imageResourcesPath = './images/';
|
||||
//PDFJS.workerSrc = '../build/pdf.worker.js';
|
||||
PDFJS.cMapUrl = '../web/cmaps/';
|
||||
PDFJS.cMapPacked = true;
|
||||
|
@ -32,6 +32,7 @@ http://sourceforge.net/adobe/cmap/wiki/License/
|
||||
<script type="text/javascript">
|
||||
// by lj. Thu Jun 19 11:07:13 CST 2014
|
||||
var DEFAULT_URL = '{{ file_src }}';
|
||||
PDFJS.imageResourcesPath = '{{ MEDIA_URL }}pdf_full_view/images/';
|
||||
PDFJS.workerSrc = '{{ MEDIA_URL }}js/pdf.worker.js';
|
||||
PDFJS.disableRange = true;
|
||||
</script>
|
||||
|
Loading…
Reference in New Issue
Block a user