diff --git a/web/compatibility.js b/web/compatibility.js index b6a9fb2b3..e9b69ed07 100644 --- a/web/compatibility.js +++ b/web/compatibility.js @@ -276,10 +276,9 @@ if (typeof PDFJS === 'undefined') { }; })(); -// IE9/10 text/html data URI +// IE9-11 text/html data URI (function checkDataURICompatibility() { - if (!('documentMode' in document) || - document.documentMode !== 9 && document.documentMode !== 10) + if (!('documentMode' in document) || document.documentMode > 11) return; // overriding the src property var originalSrcDescriptor = Object.getOwnPropertyDescriptor(