diff --git a/core/js/js.js b/core/js/js.js index 7d967321d93b97465f7abfb2a3b5bb4a1a79b46c..503684b87471ec395ee21ce1cccacb4e709b90a3 100644 --- a/core/js/js.js +++ b/core/js/js.js @@ -13,7 +13,13 @@ if (oc_debug !== true) { console[methods[i]] = function () { }; } } - +/** + * fix broken console log in ie8 + */ +if (typeof console === "undefined" || typeof console.log === "undefined") { + console = {}; + console.log = function() {}; +} /** * translate a string * @param app the id of the app for which to translate the string