Poprawka błędu jquery.logging.js w Firefox.
[redakcja.git] / 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) {