diff options
author | Andreas Gohr <andi@splitbrain.org> | 2011-06-16 18:43:49 +0200 |
---|---|---|
committer | Andreas Gohr <andi@splitbrain.org> | 2011-06-16 18:43:49 +0200 |
commit | d7ead0093374b7233de1dc1df47aa10ac39facfb (patch) | |
tree | e9253b073000ecc9d382a8ab65e4d1ae1a9b9898 /lib/scripts | |
parent | 3f16fd84fb98c4910879cbb905a473dcf42202b7 (diff) | |
download | rpg-d7ead0093374b7233de1dc1df47aa10ac39facfb.tar.gz rpg-d7ead0093374b7233de1dc1df47aa10ac39facfb.tar.bz2 |
fix console check in Internet Explorer
Diffstat (limited to 'lib/scripts')
-rw-r--r-- | lib/scripts/script.js | 2 |
1 files changed, 1 insertions, 1 deletions
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; |