diff --git a/module/sommeil/app-astrologie.js b/module/sommeil/app-astrologie.js index 8f7e1e20..d993eaf7 100644 --- a/module/sommeil/app-astrologie.js +++ b/module/sommeil/app-astrologie.js @@ -116,10 +116,10 @@ export class AppAstrologie extends Application { super.activateListeners(html); this.html = html; this.html.find('select[name="signe-astral"]').change(event => { - this.selectNombreAstral(this.html.find('select[name="signe-astral"]').val()); + this.selectNombreAstral(event.currentTarget.value); }) this.html.find('select[name="signe-naissance"]').change(event => { - this.selectHeureNaissance(this.html.find('select[name="signe-naissance"]').val()); + this.selectHeureNaissance(event.currentTarget.value); }) this.html.find('td.nombre-astral').click(event => { this.selectNombreAstral(Number.parseInt(event.currentTarget.attributes['data-nombre-astral'].value) - 1); diff --git a/module/sommeil/dialog-repos.js b/module/sommeil/dialog-repos.js index d895c8ee..406914c8 100644 --- a/module/sommeil/dialog-repos.js +++ b/module/sommeil/dialog-repos.js @@ -21,7 +21,7 @@ export class DialogRepos extends Dialog { } constructor(html, actor) { - let options = { classes: ["DialogCreateSigneDraconiqueActorsActors"], width: 400, height: 'fit-content', 'z-index': 99999 }; + let options = { classes: ["dialog-repos"], width: 400, height: 'fit-content', 'z-index': 99999 }; let conf = { title: "Se reposer", content: html,