1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-19 22:58:07 +02:00

Merge pull request #3415 from benbro/master

Add IE 11 to the text/html data URI shim
This commit is contained in:
Yury Delendik 2013-06-29 13:58:36 -07:00
commit d8681b20a3

View file

@ -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(