Fixed a javascript error in the mobile viewer example that prevented an alert from being displayed
This commit is contained in:
parent
5a52ee0a79
commit
c8344016fa
@ -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`');
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user