diff --git a/django/contrib/admin/media/js/actions.js b/django/contrib/admin/media/js/actions.js index febb0c18c2..b5e556a04c 100644 --- a/django/contrib/admin/media/js/actions.js +++ b/django/contrib/admin/media/js/actions.js @@ -3,8 +3,8 @@ var Actions = { selectAll = document.getElementById('action-toggle'); if (selectAll) { selectAll.style.display = 'inline'; - addEvent(selectAll, 'change', function() { - Actions.checker(this.checked); + addEvent(selectAll, 'click', function() { + Actions.checker(selectAll.checked); }); } },