Simulate support of data URIs for IE10
This commit is contained in:
parent
e17d828b64
commit
96c2f5c6ae
@ -244,9 +244,10 @@
|
|||||||
};
|
};
|
||||||
})();
|
})();
|
||||||
|
|
||||||
// IE9 text/html data URI
|
// IE9/10 text/html data URI
|
||||||
(function checkDocumentDocumentModeCompatibility() {
|
(function checkDataURICompatibility() {
|
||||||
if (!('documentMode' in document) || document.documentMode !== 9)
|
if (!('documentMode' in document) ||
|
||||||
|
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…
x
Reference in New Issue
Block a user