Remove the function definition where it wasn't needed
This commit is contained in:
parent
c3e7aee501
commit
5d41b087b5
2 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
|
|
@ -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));
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue