From 96c2f5c6ae05a5f184dfd6a8ff558f798a119d2c Mon Sep 17 00:00:00 2001 From: Yury Delendik Date: Fri, 10 Aug 2012 18:46:18 -0500 Subject: [PATCH] Simulate support of data URIs for IE10 --- web/compatibility.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/web/compatibility.js b/web/compatibility.js index cb2941042..bc61b64c5 100644 --- a/web/compatibility.js +++ b/web/compatibility.js @@ -244,9 +244,10 @@ }; })(); -// IE9 text/html data URI -(function checkDocumentDocumentModeCompatibility() { - if (!('documentMode' in document) || document.documentMode !== 9) +// IE9/10 text/html data URI +(function checkDataURICompatibility() { + if (!('documentMode' in document) || + document.documentMode !== 9 && document.documentMode !== 10) return; // overriding the src property var originalSrcDescriptor = Object.getOwnPropertyDescriptor(