Skip to content
Snippets Groups Projects
Commit d7ead009 authored by Andreas Gohr's avatar Andreas Gohr
Browse files

fix console check in Internet Explorer

parent 3f16fd84
No related branches found
No related tags found
No related merge requests found
......@@ -13,7 +13,7 @@ if ('function' === typeof jQuery && 'function' === typeof jQuery.noConflict) {
* @param msg optional message to print
*/
function DEPRECATED(msg){
if(!console) return;
if(!window.console) return;
if(!arguments.callee) return;
var func = arguments.callee.caller.name;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment