mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-20 15:18:08 +02:00
Add IE 11 to the text/html data URI shim
This commit is contained in:
parent
4e831233a4
commit
74ee295812
1 changed files with 2 additions and 3 deletions
|
@ -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(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue