Skip to content

Commit

Permalink
Some fighting with the Linter
Browse files Browse the repository at this point in the history
  • Loading branch information
Veilza committed Mar 1, 2025
1 parent 679fffb commit c5e9f2e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions system/actor/wod-actor-base.js
Original file line number Diff line number Diff line change
Expand Up @@ -564,6 +564,8 @@ export class WoDActor extends HandlebarsApplicationMixin(foundry.applications.sh
$(content).css('maxHeight', `${this._collapsibleStates.get(key)}px`)

// Force a reflow and then re-enable the transition property
// We have to tell eslint to ignore the no-void rule because it's genuinely useful here
// eslint-disable-next-line no-void
void contentElement[0].offsetHeight
contentElement.css('transition', '')
}
Expand Down

0 comments on commit c5e9f2e

Please sign in to comment.