Node.js based forum software built for the modern web
fixes #5536
Julian Lam1594a84e1c25
diff --git a/public/src/app.js b/public/src/app.jsindex b478bc459c..3e53305aac 100644--- a/public/src/app.js+++ b/public/src/app.js@@ -630,8 +630,8 @@ app.cacheBuster = null;};app.showCookieWarning = function () {- if (!config.cookies.enabled) {- // Only show warning if enabled (obviously)+ if (!config.cookies.enabled || !navigator.cookieEnabled) {+ // Skip warning if cookie consent subsystem disabled (obviously), or cookies not in usereturn;} else if (window.location.pathname.startsWith(config.relative_path + '/admin')) {// No need to show cookie consent warning in ACP