diff --git a/system/scripts/actors/twenty-questions-dialog.js b/system/scripts/actors/twenty-questions-dialog.js index 86c43a5..d938d52 100644 --- a/system/scripts/actors/twenty-questions-dialog.js +++ b/system/scripts/actors/twenty-questions-dialog.js @@ -171,6 +171,7 @@ export class TwentyQuestionsDialog extends FormApplication { const tab = this._tabs.find((e) => e._navSelector === ".sheet-tabs"); const next = parseInt(tab.active.replace(/[^0-9]/g, "")) + 1; tab.activate("part" + next); + $(event.currentTarget).closest(".window-content").scrollTop(0); }); // *** Everything below here is only needed if the sheet is editable ***