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 { HandlebarsApplicationMixin } = foundry.applications.api;
|
||||||
const { ActorSheetV2 } = foundry.applications.sheets;
|
const { ActorSheetV2 } = foundry.applications.sheets;
|
||||||
|
const { ContextMenu } = foundry.applications.ux;
|
||||||
|
|
||||||
export class BookGeistSheet extends
|
export class BookGeistSheet extends
|
||||||
LaidOutAppMixin(
|
LaidOutAppMixin(
|
||||||
|
|
@ -48,7 +49,7 @@ export class BookGeistSheet extends
|
||||||
async _onRender() {
|
async _onRender() {
|
||||||
await super._onRender();
|
await super._onRender();
|
||||||
|
|
||||||
new ContextMenu(
|
new ContextMenu.implementation(
|
||||||
this.element,
|
this.element,
|
||||||
`[data-ctx-menu="item"]`,
|
`[data-ctx-menu="item"]`,
|
||||||
[
|
[
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue