Fix warnings in strict mode
This commit is contained in:
parent
2c6935f868
commit
674d6a7d18
4 changed files with 25 additions and 10 deletions
|
@ -163,7 +163,7 @@
|
|||
|
||||
// IE9 text/html data URI
|
||||
(function checkDocumentDocumentModeCompatibility() {
|
||||
if (document.documentMode !== 9)
|
||||
if (!('documentMode' in document) || document.documentMode !== 9)
|
||||
return;
|
||||
// overriding the src property
|
||||
var originalSrcDescriptor = Object.getOwnPropertyDescriptor(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue