From c755633f0920ce45415e305b9ac6ee07070a6170 Mon Sep 17 00:00:00 2001 From: Marcel Klehr Date: Wed, 10 Apr 2013 17:56:09 +0200 Subject: [PATCH] Update html10n.js to correctly use the console.log shim fixes #1724 --- src/static/js/html10n.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/static/js/html10n.js b/src/static/js/html10n.js index 406409ada..90f84ff97 100644 --- a/src/static/js/html10n.js +++ b/src/static/js/html10n.js @@ -135,7 +135,7 @@ window.html10n = (function(window, document, undefined) { for (var i=0, n=this.resources.length; i < n; i++) { this.fetch(this.resources[i], lang, function(e) { reqs++; - if(e) console.warn(e) + if(e) consoleWarn(e) if (reqs < n) return;// Call back once all reqs are completed cb && cb() @@ -934,4 +934,4 @@ window.html10n = (function(window, document, undefined) { window._ = html10n.get; return html10n -})(window, document) \ No newline at end of file +})(window, document)