From 7b604002e5dd73f933ef89b37e60ab07d347c44d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hugo=20H=C3=B6rnquist?= Date: Mon, 15 Nov 2021 00:43:49 +0100 Subject: Reword popup visible attribute. Now all logic for handling hiding and showing popups are inside the PopupElement class, making it much harder to do stuff incorrectly. It also slowly releases the knot around popup.ts. --- static/components/vevent-block.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'static/components/vevent-block.ts') diff --git a/static/components/vevent-block.ts b/static/components/vevent-block.ts index 439ba20e..8c6d11cf 100644 --- a/static/components/vevent-block.ts +++ b/static/components/vevent-block.ts @@ -56,8 +56,8 @@ class ComponentBlock extends ComponentVEvent { } } - if (data._calendar) { - this.dataset.calendar = data._calendar; + if (data.calendar) { + this.dataset.calendar = data.calendar; } } } -- cgit v1.2.3