diff --git a/core/js/js.js b/core/js/js.js
index a123846a72eca27477058bd8a4780cc05dd172f4..c7a06b85e5376b74bf14c6c6057c985685d104a8 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 = {};
 	}