Skip to content

Commit

Permalink
fix(cards): init activators
Browse files Browse the repository at this point in the history
  • Loading branch information
wuda-io committed Jan 30, 2025
1 parent c6269d1 commit 42693b3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/cards.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ export class Cards extends Component<CardsOptions> implements Openable {
...options
};

this._activators = [];

this.cardReveal = this.el.querySelector('.card-reveal');
if (this.cardReveal) {
this.initialOverflow = getComputedStyle(this.el).overflow;
Expand Down

0 comments on commit 42693b3

Please sign in to comment.