Update survey panel

This commit is contained in:
Lesley Norton
2025-10-01 09:34:44 -05:00
committed by Andrea Marchesini
parent 0eb13f214d
commit 00504ebbd9
4 changed files with 77 additions and 7 deletions
+4
View File
@@ -2394,6 +2394,10 @@ Logic.registerPanel(P_SURVEY_ACHIEVEMENT, {
await Logic.setAchievementDone("survey");
Logic.showPanel(P_CONTAINERS_LIST);
});
Utils.addEnterHandler(document.querySelector("#survey-button"), async () => {
await Logic.setAchievementDone("survey");
window.close();
});
},
// This method is called when the panel is shown.