Fix typo in event handler.

This commit is contained in:
Oliver Rümpelein 2020-12-28 17:38:52 +01:00
parent 9385917edd
commit 4d00d8a481

View file

@ -37,7 +37,7 @@ export class DS4ActorSheet extends ActorSheet<DS4ActorDataType, DS4Actor> {
}); });
// Delete Inventory Item // Delete Inventory Item
html.find(".item-delete").on("clock", (ev) => { html.find(".item-delete").on("click", (ev) => {
const li = $(ev.currentTarget).parents(".item"); const li = $(ev.currentTarget).parents(".item");
this.actor.deleteOwnedItem(li.data("itemId")); this.actor.deleteOwnedItem(li.data("itemId"));
li.slideUp(200, () => this.render(false)); li.slideUp(200, () => this.render(false));