Skip to content

Commit

Permalink
Merge pull request #17 from EddieDover/prevent-close-on-char-sheet-click
Browse files Browse the repository at this point in the history
fix: prevent party sheet closing when opening character sheet
  • Loading branch information
EddieDover authored Oct 17, 2023
2 parents 8e3a9c7 + 1f0df29 commit fcf9318
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/module/app/party-sheet.js
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,7 @@ export class PartySheetForm extends FormApplication {
}

openActorSheet(event) {
event.preventDefault();
const actorId = event.currentTarget.dataset.actorid;
const actor = game.actors.get(actorId.replace("Actor.", ""));
actor.sheet.render(true);
Expand Down

0 comments on commit fcf9318

Please sign in to comment.