mirror of
https://github.com/zen-browser/pdf.js.git
synced 2025-07-08 09:20:06 +02:00
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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue