Prevent fallback when not ff extension.

This commit is contained in:
Brendan Dahl 2012-05-25 14:52:00 -07:00
parent b1bf3ae56a
commit c0cfb48621

View File

@ -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)