Some miscellanious cleanup

This commit is contained in:
Oliver-Akins 2024-02-06 20:42:56 -07:00
parent 2f8ec1b79c
commit 7067615da7
9 changed files with 31 additions and 2822 deletions

View file

@ -42,8 +42,10 @@ export class GenericActorSheet extends ActorSheet {
html.find(`summary`).on(`click`, this._handleSummaryToggle.bind(this));
html.find(`[data-roll-formula]`).on(`click`, this._handleRoll.bind(this));
html.find(`[data-embedded-update]`)
html.find(`[data-embedded-update-on="change"]`)
.on(`change`, this.actor.genericEmbeddedUpdate.bind(this.actor));
html.find(`[data-embedded-update-on="blur"]`)
.on(`blur`, this.actor.genericEmbeddedUpdate.bind(this.actor));
html.find(`[data-embedded-delete]`)
.on(`click`, this.actor.genericEmbeddedDelete.bind(this.actor));
html.find(`[data-embedded-create]`)