mirror of
https://github.com/zen-browser/pdf.js.git
synced 2025-07-08 17:30:09 +02:00
Fix the annotationEditorMode
-compatibility for older browsers (PR 15113 follow-up)
This commit is contained in:
parent
ce63663282
commit
63f2d0bb64
2 changed files with 7 additions and 2 deletions
|
@ -39,9 +39,10 @@ if (typeof PDFJSDev === "undefined" || PDFJSDev.test("GENERIC")) {
|
|||
}
|
||||
})();
|
||||
|
||||
// Support: Safari<13.1
|
||||
(function checkResizeObserver() {
|
||||
if (typeof ResizeObserver === "undefined") {
|
||||
compatibilityParams.annotationEditorEnabled = false;
|
||||
compatibilityParams.annotationEditorMode = -1;
|
||||
}
|
||||
})();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue