Remove the function definition where it wasn't needed

This commit is contained in:
Oliver-Akins 2024-05-05 16:41:17 -06:00
parent c3e7aee501
commit 5d41b087b5
2 changed files with 2 additions and 2 deletions

View file

@ -58,7 +58,7 @@ export class GenericActorSheet extends ActorSheet {
*/ */
html.find( html.find(
CONFIG.CACHE.componentListeners.map(n => `${n}[name]`).join(`,`) CONFIG.CACHE.componentListeners.map(n => `${n}[name]`).join(`,`)
).on(`change`, () => this._onChangeInput.bind(this)); ).on(`change`, this._onChangeInput.bind(this));
/* /*
Utility event listeners that apply Utility event listeners that apply

View file

@ -50,7 +50,7 @@ export class GenericItemSheet extends ItemSheet {
*/ */
html.find( html.find(
CONFIG.CACHE.componentListeners.map(n => `${n}[name]`).join(`,`) CONFIG.CACHE.componentListeners.map(n => `${n}[name]`).join(`,`)
).on(`change`, () => this._onChangeInput.bind(this)); ).on(`change`, this._onChangeInput.bind(this));
html.find(`button[data-increment]`) html.find(`button[data-increment]`)
.on(`click`, this._incrementValue.bind(this)); .on(`click`, this._incrementValue.bind(this));