Skip to content

Commit

Permalink
fix(home): sidebar button sometimes not selecting
Browse files Browse the repository at this point in the history
  • Loading branch information
SethBurkart123 committed Dec 2, 2024
1 parent e2176ea commit d1a876f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/SEQTA.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2158,13 +2158,13 @@ async function AddCustomShortcutsToPage() {
export async function loadHomePage() {
console.info('[BetterSEQTA+] Started Loading Home Page')

// Wait for the DOM to finish clearing
await delay(10)

document.title = 'Home ― SEQTA Learn'
const element = document.querySelector('[data-key=home]')
element?.classList.add('active')

// Wait for the DOM to finish clearing
await delay(10)

// Cache DOM queries
const main = document.getElementById('main')
if (!main) {
Expand Down

0 comments on commit d1a876f

Please sign in to comment.