Skip to content

Commit

Permalink
Click out of finals after step
Browse files Browse the repository at this point in the history
  • Loading branch information
MinhxNguyen7 committed Jan 26, 2024
1 parent 6982d32 commit 5e79294
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions apps/antalmanac/src/lib/TutorialHelpers.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,12 @@ export function namedStepsFactory(goToStep: (step: number) => void): Record<Tour
document.getElementById('finals-button')?.click();
}, 50);
},
actionAfter: () => {
// Switch back to normal calendar
setTimeout(() => {
document.getElementById('finals-button-pressed')?.click();
}, 50);
},
},
addedCoursesTab: {
selector: '#added-courses-tab',
Expand Down

0 comments on commit 5e79294

Please sign in to comment.