Skip to content

Commit b74ceea

Browse files
Update pythonsd/static/js/main.js
Co-authored-by: Jeremy <[email protected]>
1 parent 3bdf921 commit b74ceea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pythonsd/static/js/main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// Toggle the navigation menu on small screens
22
document.getElementById("navigation-toggle").addEventListener("click", function () {
3-
const navMenu = document.querySelector("#navigation-menu");
3+
const navMenu = document.getElementById("navigation-menu");
44
navMenu.classList.toggle("hidden");
55
});

0 commit comments

Comments
 (0)