Skip to content

Commit

Permalink
Clear card_mod styles on popup close
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasloven committed Sep 5, 2022
1 parent e7d5a55 commit e615b9c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions js/plugin/popups.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,9 @@ class BrowserModPopup extends LitElement {
this._autocloseListener = undefined;
}
this._actions?.dismiss_action?.();
if ((this as any)._cardMod?.[0]) {
(this as any)._cardMod[0].styles = "";
}
}

openDialog() {
Expand Down

0 comments on commit e615b9c

Please sign in to comment.