diff --git a/module/actor-entite-sheet.js b/module/actor-entite-sheet.js index 7b953e00..93888936 100644 --- a/module/actor-entite-sheet.js +++ b/module/actor-entite-sheet.js @@ -117,7 +117,7 @@ export class RdDActorEntiteSheet extends ActorSheet { this.render(true); }); - html.find('#encaisser-direct').click(ev => { + html.find('.encaisser-direct').click(ev => { this.actor.encaisser(); }); diff --git a/module/actor-sheet.js b/module/actor-sheet.js index 576f4c9f..a8bc4f28 100644 --- a/module/actor-sheet.js +++ b/module/actor-sheet.js @@ -268,7 +268,7 @@ export class RdDActorSheet extends ActorSheet { RdDUtility.confirmerSuppressionSubacteur(this, li); }); - html.find('#encaisser-direct').click(ev => { + html.find('.encaisser-direct').click(ev => { this.actor.encaisser(); }); @@ -416,27 +416,27 @@ export class RdDActorSheet extends ActorSheet { } }); // Display TMR, visuualisation - html.find('#visu-tmr').click((event) => { + html.find('.visu-tmr').click((event) => { this.actor.displayTMR("visu"); }); // Display TMR, normal - html.find('#monte-tmr').click((event) => { + html.find('.monte-tmr').click((event) => { this.actor.displayTMR("normal"); }); // Display TMR, fast - html.find('#monte-tmr-rapide').click((event) => { + html.find('.monte-tmr-rapide').click((event) => { this.actor.displayTMR("rapide"); }); - html.find('#dormir-une-heure').click((event) => { + html.find('.dormir-une-heure').click((event) => { this.actor.dormir(1); }); - html.find('#dormir-chateau-dormant').click((event) => { + html.find('.dormir-chateau-dormant').click((event) => { this.actor.dormirChateauDormant(); }); - html.find('#enlever-tous-effets').click((event) => { + html.find('.enlever-tous-effets').click((event) => { this.actor.enleverTousLesEffets(); }); // Display info about queue diff --git a/templates/actor-creature-sheet.html b/templates/actor-creature-sheet.html index 24409eb9..8e57417c 100644 --- a/templates/actor-creature-sheet.html +++ b/templates/actor-creature-sheet.html @@ -9,7 +9,7 @@
diff --git a/templates/actor-entite-sheet.html b/templates/actor-entite-sheet.html index 365a0e3d..bd83477c 100644 --- a/templates/actor-entite-sheet.html +++ b/templates/actor-entite-sheet.html @@ -9,7 +9,7 @@ diff --git a/templates/actor-sheet.html b/templates/actor-sheet.html index 6d5b703f..70145c11 100644 --- a/templates/actor-sheet.html +++ b/templates/actor-sheet.html @@ -55,14 +55,14 @@