Merge pull request #1123 from jwagner79/ie9console
define console for IE9 when debugging tools is not opened
This commit is contained in:
commit
fbe3b51a4d
@ -224,3 +224,10 @@
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
})();
|
})();
|
||||||
|
|
||||||
|
// Check console compatability
|
||||||
|
(function checkConsoleCompatibility() {
|
||||||
|
if (typeof console == 'undefined') {
|
||||||
|
console = {log: function() {}};
|
||||||
|
}
|
||||||
|
})();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user