Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
carlinmack committed May 10, 2024
1 parent 01e718f commit df9d642
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion invenio_previewer/extensions/pdfjs.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,5 @@ def preview(file):
file=file,
html_tags='dir="ltr" mozdisallowselectionprint moznomarginboxes',
css_bundles=["pdfjs_css.css"],
js_bundles=["fullscreen_js.js", "open_pdf.js"],
js_bundles=current_previewer.js_bundles + ["open_pdf.js", "fullscreen_js.js"],
)
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
{{ super() }}
<meta name="google" content="notranslate">
<link rel="resource" type="application/l10n" href="{{ url_for('static', filename='js/pdfjs/web/locale/locale.properties') }}" />
<!-- <link rel="stylesheet" href="{{ url_for('static', filename='css/pdfjs/viewer.css') }}"> -->
<script src="{{ url_for('static', filename='js/pdfjs/pdf.js') }}";></script>
<script src="{{ url_for('static', filename='js/pdfjs/viewer.js') }}"></script>
{%- endblock %}
Expand Down
2 changes: 1 addition & 1 deletion invenio_previewer/webpack.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,9 @@
"prism_css": "./scss/invenio_previewer/prismjs.scss",
"open_pdf": "./js/invenio_previewer/open_pdf.js",
"bottom_js": "./js/invenio_previewer/bottom.js",
"pdfjs_css": "./css/invenio_previewer/pdfjs/viewer.css",
"zip_css": "./scss/invenio_previewer/zip.scss",
"bottom_css": "./scss/invenio_previewer/bottom.scss",
"pdfjs_css": "./css/invenio_previewer/pdfjs/viewer.css",
"simple_image_css": "./scss/invenio_previewer/simple_image.scss",
"txt_css": "./scss/invenio_previewer/txt.scss",
"videojs_js": "./node_modules/video.js/dist/video.min.js",
Expand Down

0 comments on commit df9d642

Please sign in to comment.