Merge branch 'Fixing-20Q-Label-Drop-Not-Registering' into 'dev'

Enable dropping on the the 'drop here' label for 20Q

See merge request teaml5r/l5r5e!34
This commit is contained in:
Vlyan
2023-12-13 16:37:57 +00:00

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;