Add stub for registering event listeners in the handlebars
This commit is contained in:
parent
191d03baaf
commit
303bdce0a0
1 changed files with 10 additions and 0 deletions
|
|
@ -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", () => {});
|
||||||
|
}
|
||||||
}
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue