aboutsummaryrefslogtreecommitdiff
path: root/static/components/tab-group-element.ts
diff options
context:
space:
mode:
Diffstat (limited to 'static/components/tab-group-element.ts')
-rw-r--r--static/components/tab-group-element.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/static/components/tab-group-element.ts b/static/components/tab-group-element.ts
index 5cfeab2d..e90997e9 100644
--- a/static/components/tab-group-element.ts
+++ b/static/components/tab-group-element.ts
@@ -174,7 +174,7 @@ class TabGroupElement extends ComponentVEvent {
/* returns our rrule tab if we have one */
has_rrule_tab(): Element | false {
for (let child of this.children) {
- if ((child.firstChild! as HTMLElement).tagName.toLowerCase() === 'vevent-edit-rrule') {
+ if (child.firstChild! instanceof EditRRule) {
return child;
}
}