From: zuber Date: Tue, 25 Aug 2009 12:56:29 +0000 (+0200) Subject: Poprawka błędu jquery.logging.js w Firefox. X-Git-Url: https://git.mdrn.pl/redakcja.git/commitdiff_plain/a21670989205979ee667eda0a6e6ba4c2546da6f?ds=sidebyside Poprawka błędu jquery.logging.js w Firefox. --- diff --git a/project/static/js/jquery.logging.js b/project/static/js/jquery.logging.js index 02e10e40..1afd8bec 100644 --- a/project/static/js/jquery.logging.js +++ b/project/static/js/jquery.logging.js @@ -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) {