We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4594ff6 commit bd25113Copy full SHA for bd25113
web/app.js
@@ -2008,7 +2008,7 @@ const PDFViewerApplication = {
2008
/^https:\/\/.*\.sharinpix\.com$/,
2009
];
2010
const originAllowed = origins.some(origin => origin.test(event.origin));
2011
- if (originAllowed && event.data.type === "image-download") {
+ if (originAllowed && event.data.type === "enable-pdf-download") {
2012
const printButton = document.getElementById("printButton");
2013
const secondaryPrintButton = document.getElementById("secondaryPrint");
2014
printButton?.classList.remove("hidden");
0 commit comments