Skip to content

Commit

Permalink
Don't need
Browse files Browse the repository at this point in the history
  • Loading branch information
brianrourkeboll committed Jun 4, 2024
1 parent a8947b9 commit 5cdc107
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions docs/content/fsdocs-details-toggle.js
Original file line number Diff line number Diff line change
Expand Up @@ -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`
Expand Down

0 comments on commit 5cdc107

Please sign in to comment.