Compare commits

..

No commits in common. "420d436bb1f4369ec135601b1e4289b0acd4451f" and "6a5c6d69086230b7ce464f9fb006977ad95c11ac" 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

@ -875,11 +875,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,