diff --git a/module/applications/sheets/items/armor.mjs b/module/applications/sheets/items/armor.mjs index f583d55e..1852ffd3 100644 --- a/module/applications/sheets/items/armor.mjs +++ b/module/applications/sheets/items/armor.mjs @@ -72,6 +72,10 @@ export default class ArmorSheet extends DHBaseItemSheet { await this.document.update({ 'system.features': selectedOptions.map(x => ({ value: x.value })) }); } + /* -------------------------------------------- */ + /* Drag and Drop */ + /* -------------------------------------------- */ + /** * Handle dropping items onto the attachments section * @param {DragEvent} event - The drop event @@ -95,6 +99,10 @@ export default class ArmorSheet extends DHBaseItemSheet { }); } + /* -------------------------------------------- */ + /* Application Clicks Actions */ + /* -------------------------------------------- */ + /** * Remove an attached item * @param {Event} event - The click event diff --git a/module/applications/sheets/items/weapon.mjs b/module/applications/sheets/items/weapon.mjs index a376de9d..f9a6b574 100644 --- a/module/applications/sheets/items/weapon.mjs +++ b/module/applications/sheets/items/weapon.mjs @@ -71,6 +71,10 @@ export default class WeaponSheet extends DHBaseItemSheet { await this.document.update({ 'system.features': selectedOptions.map(x => ({ value: x.value })) }); } + /* -------------------------------------------- */ + /* Drag and Drop */ + /* -------------------------------------------- */ + /** * Handle dropping items onto the attachments section * @param {DragEvent} event - The drop event @@ -94,6 +98,10 @@ export default class WeaponSheet extends DHBaseItemSheet { }); } + /* -------------------------------------------- */ + /* Application Clicks Actions */ + /* -------------------------------------------- */ + /** * Remove an attached item * @param {Event} event - The click event