We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 41834d9 commit 9c58ec2Copy full SHA for 9c58ec2
frontend/src/ts/popups/cookie-popup.ts
@@ -35,9 +35,15 @@ export function check(): void {
35
36
export function show(): void {
37
Skeleton.append(wrapperId);
38
- if ($("#cookiePopupWrapper")[0] === undefined) {
+ if (
39
+ $("#cookiePopupWrapper")[0] === undefined ||
40
+ $("#cookiePopupWrapper").is(":visible") === false ||
41
+ $("#cookiePopupWrapper").outerHeight(true) === 0
42
+ ) {
43
//removed by cookie popup blocking extension
44
+ $("#cookiePopupWrapper").addClass("hidden");
45
visible = false;
46
+ Skeleton.remove(wrapperId);
47
return;
48
}
49
if (!isPopupVisible(wrapperId)) {
0 commit comments