Fixed a javascript error in the mobile viewer example that prevented an alert from being displayed

This commit is contained in:
Mark McEver 2018-01-12 12:53:16 -06:00
parent 5a52ee0a79
commit c8344016fa

View File

@ -16,7 +16,7 @@
'use strict';
if (!PDFJS.PDFViewer || !PDFJS.getDocument) {
if (typeof PDFJS === 'undefined' || !PDFJS.PDFViewer || !PDFJS.getDocument) {
alert('Please build the pdfjs-dist library using\n' +
' `gulp dist-install`');
}