Merge pull request #12326 from Snuffleupagus/bug-1661259

Revert "Download, rather than opening, PDF attachments in Firefox (bug 1661259, PR 12286 follow-up)"
This commit is contained in:
Tim van der Meij 2020-09-04 22:06:54 +02:00 committed by GitHub
commit 4caa14b4dc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -172,7 +172,6 @@ class PDFAttachmentViewer extends BaseTreeViewer {
const element = document.createElement("a");
if (
(typeof PDFJSDev === "undefined" || !PDFJSDev.test("MOZCENTRAL")) &&
PdfFileRegExp.test(filename) &&
!viewerCompatibilityParams.disableCreateObjectURL
) {