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.
1 parent 9b4e170 commit 5632574Copy full SHA for 5632574
djangoproject/static/js/djangoproject.js
@@ -14,8 +14,8 @@ document.querySelectorAll('#doc-versions a').forEach(function (el) {
14
15
// Fade out and remove message elements when close icon is clicked
16
document.querySelectorAll('.messages li .close').forEach(function (el) {
17
- el.addEventListener('click', function (e) {
18
- this.parentElement.addEventListener('transitionend', function (e) {
+ el.addEventListener('click', function () {
+ this.parentElement.addEventListener('transitionend', function () {
19
this.style.display = 'none';
20
});
21
0 commit comments