integreat-cms icon indicating copy to clipboard operation
integreat-cms copied to clipboard

Fix Uncaught TypeError in the event list

Open MizukiTemma opened this issue 5 months ago • 1 comments

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 not null. If thre is any case it is not null, this code breaks the current behaviour 😅

Resolved issues

Fixes: #3031


Pull Request Review Guidelines

MizukiTemma avatar Sep 05 '24 19:09 MizukiTemma