diff --git a/docs/theme/analytics.js b/docs/theme/analytics.js index 6e9df27f30fc6d38ba6fb322f9888fda089bb20c..84d9705bfea223655270f5fb2541426b50a98365 100644 --- a/docs/theme/analytics.js +++ b/docs/theme/analytics.js @@ -55,7 +55,7 @@ document.addEventListener("DOMContentLoaded", () => { consentStore.subscribe((state) => { const hideBanner = state.activeUI === "none" || - (state.activeUI === "banner" && state.mode === "opt-out"); + (state.activeUI === "banner" && state.model === "opt-out"); banner.style.display = hideBanner ? "none" : "block"; if (state.activeUI === "dialog" && previousActiveUI !== "dialog") {