Minor fixes'

This commit is contained in:
2022-01-18 13:36:27 +01:00
parent baacbf38a9
commit 97c27f43ba
6 changed files with 48 additions and 36 deletions

View File

@ -200,7 +200,7 @@ export class PegasusActorSheet extends ActorSheet {
html.find('.update-field').change(ev => {
const fieldName = $(ev.currentTarget).data("field-name");
let value = ev.currentTarget.value;
let value = Number(ev.currentTarget.value);
this.actor.update( { [`${fieldName}`]: value } );
});
html.find('.perk-active').click(ev => {