Compare commits

..

No commits in common. "d3ebd30e59b9678469f05f6c31ed28b0c8835977" and "876e496d24bc90a756546499b223f4151fb61042" have entirely different histories.

2 changed files with 1 additions and 6 deletions

View file

@ -86,7 +86,7 @@ export default class DHContextMenu extends foundry.applications.ux.ContextMenu {
const element = event.target.closest('.context-item'); const element = event.target.closest('.context-item');
if (!element) return; if (!element) return;
const item = this.menuItems.find(i => i.element === element); const item = this.menuItems.find(i => i.element === element);
item?.onClick(event, this.#jQuery ? $(this.target) : this.target); item?.callback(this.#jQuery ? $(this.target) : this.target, event);
this.close(); this.close();
} }

View file

@ -870,11 +870,6 @@ export const activeEffectModes = {
priority: 20, priority: 20,
label: 'EFFECT.CHANGES.TYPES.add' label: 'EFFECT.CHANGES.TYPES.add'
}, },
subtract: {
id: 'subtract',
priority: 20,
label: 'EFFECT.CHANGES.TYPES.subtract'
},
downgrade: { downgrade: {
id: 'downgrade', id: 'downgrade',
priority: 30, priority: 30,