diff --git a/system/scripts/actors/twenty-questions-dialog.js b/system/scripts/actors/twenty-questions-dialog.js index 26fac48..a82020a 100644 --- a/system/scripts/actors/twenty-questions-dialog.js +++ b/system/scripts/actors/twenty-questions-dialog.js @@ -208,6 +208,7 @@ export class TwentyQuestionsDialog extends FormApplication { html.find("#generate").on("click", async (event) => { event.preventDefault(); event.stopPropagation(); + $(event.currentTarget).prop("disabled", true); await this.object.toActor(this.actor, flattenObject(this.cache)); await this.close({ submit: true, force: true }); });