Skip to content

Fix lyrics page breaking navigation#286

Open
Maaboudoufu wants to merge 1 commit into
Astromations:mainfrom
Maaboudoufu:fix-nav-blocked-by-lyrics-typeerror
Open

Fix lyrics page breaking navigation#286
Maaboudoufu wants to merge 1 commit into
Astromations:mainfrom
Maaboudoufu:fix-nav-blocked-by-lyrics-typeerror

Conversation

@Maaboudoufu

@Maaboudoufu Maaboudoufu commented Jul 14, 2026

Copy link
Copy Markdown

Fixes #285

querySelector -> querySelectorAll. [2] on a single element is undefined, so .innerText threw inside the History.listen callback and cancelled every navigation while the lyrics page was open. Added a ?. too for songs with less than 3 lines.

@Maaboudoufu Maaboudoufu changed the title Fix navigation breaking while lyrics page is open Fix lyrics page breaking navigation Jul 14, 2026
@Maaboudoufu
Maaboudoufu force-pushed the fix-nav-blocked-by-lyrics-typeerror branch from ce1cab4 to fc9b26b Compare July 14, 2026 14:27
@Maaboudoufu
Maaboudoufu force-pushed the fix-nav-blocked-by-lyrics-typeerror branch from fc9b26b to e99b7c4 Compare July 14, 2026 14:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Lyrics page breaks navigation

1 participant