Skip to content

Commit 8597e82

Browse files
[docs] Fix theme toggle not displaying due to duplicate const declara… (#2092)
Minor fix. Related to PR ##2090 **Link the Issue(s) this Pull Request is related to.** - #1894 **Summarize your change.** Remove duplicate `const auxNavList` line that was accidentally introduced in commit fa916ff, causing a JavaScript syntax error that prevented the theme toggle button from rendering.
1 parent fa916ff commit 8597e82

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

docs/_includes/header_custom.html

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2476,7 +2476,6 @@
24762476
});
24772477

24782478

2479-
const auxNavList = document.querySelector('.aux-nav-list');
24802479
const auxNavList = document.querySelector('.aux-nav-list');
24812480
if (!auxNavList) {
24822481
console.warn('aux-nav-list not found, cannot add theme toggle');

0 commit comments

Comments
 (0)