diff --git a/frontend/src/ts/popups/cookie-popup.ts b/frontend/src/ts/popups/cookie-popup.ts index 9224cc741..471355559 100644 --- a/frontend/src/ts/popups/cookie-popup.ts +++ b/frontend/src/ts/popups/cookie-popup.ts @@ -29,6 +29,14 @@ export function check(): void { } export function show(): void { + if ( + $("#cookiePopupWrapper")[0] === undefined || + $("#cookiePopupWrapper").outerHeight(true) === 0 + ) { + //removed by cookie popup blocking extension + visible = false; + return; + } if ($("#cookiePopupWrapper").hasClass("hidden")) { $("#cookiePopupWrapper") .stop(true, true)