deleting special training works again

This commit is contained in:
jalensailin
2024-06-08 02:27:20 -04:00
parent f8f61d49e3
commit b72276fdf8
+1 -1
View File
@@ -356,7 +356,7 @@ export default class DeltaGreenActorSheet extends ActorSheet {
// Handle deletion of Special Training
html.find(".special-training-delete").click((event) => {
event.preventDefault();
const targetID = event.target.getAttribute("data-id");
const targetID = event.currentTarget.getAttribute("data-id");
const specialTrainingArray = foundry.utils.duplicate(
this.actor.system.specialTraining,
);