diff options
-rw-r--r-- | core/js/js.js | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/core/js/js.js b/core/js/js.js index a123846a72e..c7a06b85e53 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 = {}; } |