From 564e27de01957721ddace01776733d74ff61fab2 Mon Sep 17 00:00:00 2001 From: Oliver-Akins Date: Thu, 20 Feb 2025 22:18:51 -0700 Subject: [PATCH] Make it so that item creation actually embeds if possible --- module/Apps/GenericApp.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/Apps/GenericApp.mjs b/module/Apps/GenericApp.mjs index 781603d..5f3a75b 100644 --- a/module/Apps/GenericApp.mjs +++ b/module/Apps/GenericApp.mjs @@ -16,7 +16,7 @@ export function GenericAppMixin(HandlebarsApp) { ], actions: { roll: this.#rollDice, - createItem: (_event, target) => { + createItem(_event, target) { // uses arrow-less function for "this" const parent = this.document; createItemFromElement(target, { parent }); },