From c2cf927557c24f32bd607f7cb13fabf3ddd0ac90 Mon Sep 17 00:00:00 2001 From: litasa Date: Tue, 12 Dec 2023 19:38:12 +0100 Subject: [PATCH] Fixing 20Q when dropping on the 'drop here' label. --- system/scripts/actors/twenty-questions-dialog.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/system/scripts/actors/twenty-questions-dialog.js b/system/scripts/actors/twenty-questions-dialog.js index b1f0b1a..83e86a2 100644 --- a/system/scripts/actors/twenty-questions-dialog.js +++ b/system/scripts/actors/twenty-questions-dialog.js @@ -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;