Poprawka błędu jquery.logging.js w Firefox.
authorzuber <marek@stepniowski.com>
Tue, 25 Aug 2009 12:56:29 +0000 (14:56 +0200)
committerzuber <marek@stepniowski.com>
Tue, 25 Aug 2009 12:56:29 +0000 (14:56 +0200)
project/static/js/jquery.logging.js

index 02e10e4..1afd8be 100644 (file)
@@ -6,7 +6,7 @@
        const LOG_LEVEL = LEVEL_DEBUG;
 
        var mozillaLog = function(msg) {
-               if (console) console.log(msg);
+               if (window.console) console.log(msg);
        };
 
        var operaLog = function(msg) {