Skip to content

Commit

Permalink
Merge branch 'development' of github.com:huridocs/uwazi into development
Browse files Browse the repository at this point in the history
  • Loading branch information
konzz committed Nov 21, 2017
2 parents 60d9276 + 4c9a5aa commit 5c90060
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/react/PDF/components/PDF.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@ import PropTypes from 'prop-types';
import React, {Component} from 'react';

import PDFPage from './PDFPage.js';
import '../../../../node_modules/pdfjs-dist/web/pdf_viewer.css';
import {scrollToPage} from 'app/Viewer/actions/uiActions';

import {isClient} from 'app/utils';
import {advancedSort} from 'app/utils/advancedSort';

let PDFJS;
if (isClient) {
require('../../../../node_modules/pdfjs-dist/web/pdf_viewer.css');
PDFJS = require('../../../../node_modules/pdfjs-dist/web/pdf_viewer.js').PDFJS;
PDFJS.workerSrc = '/pdf.worker.bundle.js';
}
Expand Down

0 comments on commit 5c90060

Please sign in to comment.