Remove duplicate event listener that's causing an error when editing an item (closes #164)

This commit is contained in:
Oliver-Akins 2024-04-13 17:24:08 -06:00
parent aa41635f88
commit 7e5fc036aa

View file

@ -83,7 +83,6 @@ export class GenericActorSheet extends ActorSheet {
const id = $e.currentTarget.dataset.embeddedEdit; const id = $e.currentTarget.dataset.embeddedEdit;
this.openEmbeddedSheet.bind(this)(id); this.openEmbeddedSheet.bind(this)(id);
}) })
.on(`click`, this.openEmbeddedSheet.bind(this));
html.find(`button[data-increment]`) html.find(`button[data-increment]`)
.on(`click`, this._incrementValue.bind(this)); .on(`click`, this._incrementValue.bind(this));
html.find(`button[data-decrement]`) html.find(`button[data-decrement]`)