diff options
Diffstat (limited to '')
-rw-r--r-- | static/components/vevent-description.ts | 7 | ||||
-rw-r--r-- | static/style.scss | 4 |
2 files changed, 11 insertions, 0 deletions
diff --git a/static/components/vevent-description.ts b/static/components/vevent-description.ts index 09c836b0..98c9007e 100644 --- a/static/components/vevent-description.ts +++ b/static/components/vevent-description.ts @@ -39,6 +39,13 @@ class ComponentDescription extends ComponentVEvent { } } + let repeating = body.getElementsByClassName('repeating')[0] as HTMLElement + if (data.getProperty('rrule')) { + repeating.classList.remove('hidden'); + } else { + repeating.classList.add('hidden'); + } + this.replaceChildren(body); } } diff --git a/static/style.scss b/static/style.scss index 48de9bcc..efe8291d 100644 --- a/static/style.scss +++ b/static/style.scss @@ -101,6 +101,10 @@ html, body { text-decoration: none; } +.hidden { + display: none; +} + /* Change View ---------------------------------------- |