Skip to content

Commit eee8764

Browse files
sarahboycebmispelon
authored andcommitted
Fixed mobile navigation menu.
1 parent 1e428d9 commit eee8764

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

djangoproject/static/js/djangoproject.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ document.querySelectorAll('.console-block label').forEach(function (el) {
5959

6060
// Toggle mobile menu on button click
6161
document.querySelector('.menu-button').addEventListener('click', function () {
62-
const menu_el = document.querySelector('#top [role="navigation"]');
62+
const menu_el = document.querySelector('#top nav');
6363

6464
this.classList.toggle('active');
6565
menu_el.classList.toggle('active');

0 commit comments

Comments
 (0)