mirror of
https://github.com/BetterSEQTA/BetterSEQTA-Plus.git
synced 2026-06-06 03:34:40 +00:00
chore(logging): improve logging
This commit is contained in:
+2
-3
@@ -2152,7 +2152,7 @@ export async function loadHomePage() {
|
|||||||
// Cache DOM queries
|
// Cache DOM queries
|
||||||
const main = document.getElementById('main')
|
const main = document.getElementById('main')
|
||||||
if (!main) {
|
if (!main) {
|
||||||
console.error('Main element not found.')
|
console.error('[BetterSEQTA+] Main element not found.')
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -2256,7 +2256,7 @@ export async function loadHomePage() {
|
|||||||
const TodayFormatted = formatDate(date)
|
const TodayFormatted = formatDate(date)
|
||||||
|
|
||||||
// Load timetable
|
// Load timetable
|
||||||
await callHomeTimetable(TodayFormatted, true)
|
callHomeTimetable(TodayFormatted, true)
|
||||||
|
|
||||||
// Load upcoming assessments
|
// Load upcoming assessments
|
||||||
const upcomingItems = document.getElementById('upcoming-items')
|
const upcomingItems = document.getElementById('upcoming-items')
|
||||||
@@ -2264,7 +2264,6 @@ export async function loadHomePage() {
|
|||||||
await CreateUpcomingSection(currentAssessments, activeSubjects)
|
await CreateUpcomingSection(currentAssessments, activeSubjects)
|
||||||
delay(100)
|
delay(100)
|
||||||
upcomingItems.classList.remove('loading')
|
upcomingItems.classList.remove('loading')
|
||||||
console.log('Upcoming assessments created')
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Setup notices
|
// Setup notices
|
||||||
|
|||||||
Reference in New Issue
Block a user