Merge pull request #1975 from yurydelendik/ie10-2
Simulate support of data URIs for IE10
This commit is contained in:
commit
c047b07495
@ -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(
|
||||
|
Loading…
x
Reference in New Issue
Block a user