diff --git a/module/dialog-chronologie.js b/module/dialog-chronologie.js index d7ec467e..668b4456 100644 --- a/module/dialog-chronologie.js +++ b/module/dialog-chronologie.js @@ -43,8 +43,7 @@ export class DialogChronologie extends Dialog { content: html, buttons: { ajout: { label: "Ajouter", callback: it => this.ajouter() }, - }, - default: "ajout" + } }; super(conf, options); } diff --git a/module/dialog-stress.js b/module/dialog-stress.js index 24928c01..6ec1efb5 100644 --- a/module/dialog-stress.js +++ b/module/dialog-stress.js @@ -31,8 +31,7 @@ export class DialogStress extends Dialog { content: html, buttons: { stress: { label: "Stress !", callback: it => { this.onStress(); } } - }, - default: "stress" + } }; super(conf, options); this.dialogData = dialogData;