Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
menu.js
1 parent 458d6cd commit 0986415Copy full SHA for 0986415
python_docs_theme/static/menu.js
@@ -31,7 +31,9 @@ document.addEventListener('DOMContentLoaded', function () {
31
// Close menu when link on the sideMenu is clicked
32
sideMenu.addEventListener('click', function (event) {
33
let target = event.target
34
- if (target.tagName.toLowerCase() !== 'a') return
+ if (target.tagName.toLowerCase() !== 'a') {
35
+ return
36
+ }
37
closeMenu()
38
})
39
// Add accessibility data when sideMenu is opened/closed
0 commit comments