define console for IE9 when debugging tools is not opened
This commit is contained in:
parent
67769f3741
commit
19622406da
@ -224,3 +224,10 @@
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
})();
|
})();
|
||||||
|
|
||||||
|
//IE9 console
|
||||||
|
(function checkConsoleCompatibility() {
|
||||||
|
if (typeof console == "undefined") {
|
||||||
|
console = {log: function() {}};
|
||||||
|
}
|
||||||
|
})();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user