Browse Source

Add IE 11 to the text/html data URI shim

benbro 12 years ago
parent
commit
74ee295812
  1. 5
      web/compatibility.js

5
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() { (function checkDataURICompatibility() {
if (!('documentMode' in document) || if (!('documentMode' in document) || document.documentMode > 11)
document.documentMode !== 9 && document.documentMode !== 10)
return; return;
// overriding the src property // overriding the src property
var originalSrcDescriptor = Object.getOwnPropertyDescriptor( var originalSrcDescriptor = Object.getOwnPropertyDescriptor(

Loading…
Cancel
Save