Add stub for registering event listeners in the handlebars

This commit is contained in:
Oliver-Akins 2023-11-23 19:11:29 -07:00
parent 191d03baaf
commit 303bdce0a0

View file

@ -12,4 +12,14 @@ export class CharacterSheet extends ActorSheet {
} }
); );
}; };
activateListeners(html) {
super.activateListeners(html);
if (!this.isEditable) return;
console.debug(`.dungeon | Adding event listeners for Actor${this.id}`)
// Modal openings
html.find(`button.stat-prompt`).on("click", () => {});
}
} }