From d7ead0093374b7233de1dc1df47aa10ac39facfb Mon Sep 17 00:00:00 2001 From: Andreas Gohr Date: Thu, 16 Jun 2011 18:43:49 +0200 Subject: fix console check in Internet Explorer --- lib/scripts/script.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/scripts/script.js b/lib/scripts/script.js index 9b9ca600c..a673cdc02 100644 --- a/lib/scripts/script.js +++ b/lib/scripts/script.js @@ -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; -- cgit v1.2.3