mirror of
https://github.com/BetterSEQTA/BetterSEQTA-Plus.git
synced 2026-06-06 03:34:40 +00:00
fix: Home page todays lessons not properly changing days #310
This commit is contained in:
@@ -25,6 +25,9 @@ let currentSelectedDate = new Date();
|
||||
export async function loadHomePage() {
|
||||
console.info("[BetterSEQTA+] Started Loading Home Page");
|
||||
|
||||
// Reset currentSelectedDate to today when remounting the home page
|
||||
currentSelectedDate = new Date();
|
||||
|
||||
// Wait for the DOM to finish clearing
|
||||
await delay(10);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user