Minor: format +/-
Utiliser des classes pour formattage commun plutôt que des ids
This commit is contained in:
@ -108,11 +108,11 @@ export class RdDActorEntiteSheet extends ActorSheet {
|
||||
this.actor.rollCompetence( compName );
|
||||
});
|
||||
|
||||
html.find('#endurance-plus').click((event) => {
|
||||
html.find('.endurance-plus').click((event) => {
|
||||
this.actor.santeIncDec("endurance", 1);
|
||||
this.render(true);
|
||||
});
|
||||
html.find('#endurance-moins').click((event) => {
|
||||
html.find('.endurance-moins').click((event) => {
|
||||
this.actor.santeIncDec("endurance", -1);
|
||||
this.render(true);
|
||||
});
|
||||
|
Reference in New Issue
Block a user