Fixing 20Q when dropping on the 'drop here' label.

This commit is contained in:
litasa
2023-12-12 19:38:12 +01:00
parent 8817f390e4
commit c2cf927557

View File

@@ -251,7 +251,7 @@ export class TwentyQuestionsDialog extends FormApplication {
if (!["item", "technique", "peculiarity", "bond"].includes(type)) {
return;
}
const stepKey = $(event.target).data("step");
const stepKey = $(event.currentTarget).data("step");
if (!stepKey) {
console.warn("L5R5E | 20Q | Event stepKey is undefined");
return;