Skip to content

Commit

Permalink
Add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
adamzap committed Dec 19, 2024
1 parent 3942cc9 commit f9c0811
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions djangoproject/static/js/app.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// Toggle persistent display of documentation version and language options if
// the element is clicked
document.querySelectorAll('.doc-switcher li.current').forEach(function (el) {
el.addEventListener('click', function () {
this.parentElement.classList.toggle('open');
Expand Down

0 comments on commit f9c0811

Please sign in to comment.