Merge pull request #9360 from mmcev106/master
Fixed a javascript error in the mobile viewer example that prevented …
This commit is contained in:
commit
2bc3d0ff91
@ -16,7 +16,7 @@
|
|||||||
|
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
if (!PDFJS.PDFViewer || !PDFJS.getDocument) {
|
if (typeof PDFJS === 'undefined' || !PDFJS.PDFViewer || !PDFJS.getDocument) {
|
||||||
alert('Please build the pdfjs-dist library using\n' +
|
alert('Please build the pdfjs-dist library using\n' +
|
||||||
' `gulp dist-install`');
|
' `gulp dist-install`');
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user