Skip to content

Updated navigation#45

Merged
ju5tu5 merged 1 commit intomainfrom
feature-layout
Jan 26, 2024
Merged

Updated navigation#45
ju5tu5 merged 1 commit intomainfrom
feature-layout

Conversation

@ju5tu5
Copy link
Copy Markdown
Member

@ju5tu5 ju5tu5 commented Jan 26, 2024

I changed a number of things updating the way navigation works. The paragraph button and table of contents now update the active item by scrolling. Theme switching has been implemented and is honouring the prefers- settings of the user.

@ju5tu5 ju5tu5 merged commit 67f4ad1 into main Jan 26, 2024

if (currentParagraph !== undefined && currentParagraph !== lastParagraph) {
document.getElementById('paragraph-button').innerHTML =
document.getElementById(currentParagraph).firstChild.textContent

Check warning

Code scanning / CodeQL

DOM text reinterpreted as HTML

[DOM text](1) is reinterpreted as HTML without escaping meta-characters.
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.

2 participants