Fix deprecation warning
This commit is contained in:
parent
cd69228e68
commit
0d1c2ddbb3
1 changed files with 2 additions and 1 deletions
|
|
@ -6,6 +6,7 @@ import { editItemFromElement, deleteItemFromElement } from "../utils.mjs";
|
|||
|
||||
const { HandlebarsApplicationMixin } = foundry.applications.api;
|
||||
const { ActorSheetV2 } = foundry.applications.sheets;
|
||||
const { ContextMenu } = foundry.applications.ux;
|
||||
|
||||
export class BookGeistSheet extends
|
||||
LaidOutAppMixin(
|
||||
|
|
@ -48,7 +49,7 @@ export class BookGeistSheet extends
|
|||
async _onRender() {
|
||||
await super._onRender();
|
||||
|
||||
new ContextMenu(
|
||||
new ContextMenu.implementation(
|
||||
this.element,
|
||||
`[data-ctx-menu="item"]`,
|
||||
[
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue