Skip to content
Snippets Groups Projects
Commit e998da06 authored by Jörn Friedrich Dreyer's avatar Jörn Friedrich Dreyer
Browse files

fix broken console.log in ie8

parent 516464ba
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment