mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-22 16:18:08 +02:00
Revert "Download, rather than opening, PDF attachments in Firefox (bug 1661259, PR 12286 follow-up)"
This reverts commit 2a0de0b66b
.
I can no longer reproduce these issues locally, and if ad blockers are still interfering with this functionality we really ought to pursue a mozilla-central solution to the problem instead. (Also, I'm no longer getting an "Open with Firefox"-option in the "Open with"-dialog making the PDF attachments experience worse for all users.)
This commit is contained in:
parent
05fede43f7
commit
a52e229ca6
1 changed files with 0 additions and 1 deletions
|
@ -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
|
||||
) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue