integreat-cms
integreat-cms copied to clipboard
Fix Uncaught TypeError in the event list
Short description
This PR fixes Uncaught TypeError
which occurs when the event list is visited.
Proposed changes
- Remove the code lines which contains the cause of the error
node.closest("li")
.
Side effects
- I didn't find the case when
node.closest("li")
is notnull
. If thre is any case it is notnull
, this code breaks the current behaviour 😅
Resolved issues
Fixes: #3031