mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-22 16:18:08 +02:00
Merge pull request #13015 from calixteman/avoid_dl
JS - Avoid a popup to ask for updating Acrobat.
This commit is contained in:
commit
1b42fe2917
1 changed files with 6 additions and 0 deletions
|
@ -115,6 +115,12 @@ function initSandbox(params) {
|
|||
globalThis.trans = Trans;
|
||||
globalThis.zoomtype = ZoomType;
|
||||
|
||||
// Avoid to have a popup asking to update Acrobat.
|
||||
globalThis.ADBE = {
|
||||
Reader_Value_Asked: true,
|
||||
Viewer_Value_Asked: true,
|
||||
};
|
||||
|
||||
// AF... functions
|
||||
const aform = new AForm(doc, app, util, color);
|
||||
for (const name of Object.getOwnPropertyNames(AForm.prototype)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue