diff --git a/core/js/js.js b/core/js/js.js index a123846a72..c7a06b85e5 100644 --- a/core/js/js.js +++ b/core/js/js.js @@ -26,10 +26,7 @@ if (typeof oc_webroot === "undefined") { oc_webroot = oc_webroot.substr(0, oc_webroot.lastIndexOf('/')); } } -if ( - oc_debug !== true || typeof console === "undefined" || - typeof console.log === "undefined" -) { +if (typeof console === "undefined" || typeof console.log === "undefined") { if (!window.console) { window.console = {}; }