mirror of
https://github.com/BetterSEQTA/BetterSEQTA-Plus.git
synced 2026-06-06 03:34:40 +00:00
fix: page may fail to load due to shortcut links function failing
This commit is contained in:
+6
-1
@@ -2420,7 +2420,12 @@ export async function loadHomePage() {
|
||||
const cleanup = setupTimetableListeners()
|
||||
|
||||
// Initialize shortcuts immediately
|
||||
addShortcuts(settingsState.shortcuts)
|
||||
try {
|
||||
addShortcuts(settingsState.shortcuts)
|
||||
} catch(err: any) {
|
||||
console.error('[BetterSEQTA+] Error adding shortcuts:',
|
||||
err.message || err)
|
||||
}
|
||||
AddCustomShortcutsToPage()
|
||||
|
||||
// Get current date
|
||||
|
||||
Reference in New Issue
Block a user