mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-20 15:18:08 +02:00
Prevent fallback when not ff extension.
This commit is contained in:
parent
b1bf3ae56a
commit
c0cfb48621
1 changed files with 3 additions and 1 deletions
|
@ -391,7 +391,9 @@ var PDFView = {
|
|||
}
|
||||
},
|
||||
|
||||
fallback: function pdfViewDownload() {
|
||||
fallback: function pdfViewFallback() {
|
||||
if (!PDFJS.isFirefoxExtension)
|
||||
return;
|
||||
// Only trigger the fallback once so we don't spam the user with messages
|
||||
// for one PDF.
|
||||
if (this.fellback)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue