Skip to content

Commit

Permalink
Update events.js
Browse files Browse the repository at this point in the history
  • Loading branch information
IgorA100 committed Jul 16, 2024
1 parent e9f4f11 commit 119e723
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/skins/classic/views/js/events.js
Original file line number Diff line number Diff line change
Expand Up @@ -519,7 +519,7 @@ function initPage() {
}

function filterEvents(clickedElement) {
if (clickedElement.target.id == 'filterArchived') {
if (clickedElement.target && clickedElement.target.id == 'filterArchived') {
setCookie('zmFilterArchived', clickedElement.target.value);
}
filterQuery = '';
Expand Down

0 comments on commit 119e723

Please sign in to comment.