From 74ee2958129fee1d26129d5b8a00c08148c7e86b Mon Sep 17 00:00:00 2001 From: benbro Date: Sat, 29 Jun 2013 23:43:41 +0300 Subject: [PATCH] Add IE 11 to the text/html data URI shim --- web/compatibility.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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(