From 5cdc107e9fc5d238956feae6da9d6585609e952c Mon Sep 17 00:00:00 2001 From: Brian Rourke Boll Date: Tue, 4 Jun 2024 12:47:11 -0400 Subject: [PATCH] Don't need --- docs/content/fsdocs-details-toggle.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/docs/content/fsdocs-details-toggle.js b/docs/content/fsdocs-details-toggle.js index ea7075aa..b8a3f67b 100644 --- a/docs/content/fsdocs-details-toggle.js +++ b/docs/content/fsdocs-details-toggle.js @@ -10,10 +10,7 @@ export class DetailsToggle extends LitElement { constructor() { super(); this._detailsExpanded = detailsExpanded; - document.addEventListener('detailstoggled', e => { - this._detailsExpanded = !!e?.detail?.expanding; - this.render(); - }); + document.addEventListener('detailstoggled', e => this._detailsExpanded = !!e?.detail?.expanding); } static styles = css`