diff --git a/src/apps/actor/base-sheet.js b/src/apps/actor/base-sheet.js index 0d2193ca..0aec8f18 100644 --- a/src/apps/actor/base-sheet.js +++ b/src/apps/actor/base-sheet.js @@ -682,11 +682,11 @@ export class DS4ActorSheet extends foundry.applications.api.HandlebarsApplicatio /** - * Handle editing the actor's portrait image + * Handle editing the actor's image * @param {Event} event - The triggering event * @param {HTMLElement} target - The target element */ - static async _onEditImage(event, target) { + async _onEditImage(event, target) { const field = target.dataset.field || "img"; const current = foundry.utils.getProperty(this.document, field); @@ -695,7 +695,6 @@ export class DS4ActorSheet extends foundry.applications.api.HandlebarsApplicatio current: current, callback: (path) => this.document.update({ [field]: path }), }); - return fp.browse(); } }