define console for IE9 when debugging tools is not opened
This commit is contained in:
parent
67769f3741
commit
19622406da
1 changed files with 7 additions and 0 deletions
|
@ -224,3 +224,10 @@
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
})();
|
})();
|
||||||
|
|
||||||
|
//IE9 console
|
||||||
|
(function checkConsoleCompatibility() {
|
||||||
|
if (typeof console == "undefined") {
|
||||||
|
console = {log: function() {}};
|
||||||
|
}
|
||||||
|
})();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue