Make it so that item creation actually embeds if possible
This commit is contained in:
parent
5eedea5001
commit
564e27de01
1 changed files with 1 additions and 1 deletions
|
|
@ -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 });
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue