mirror of
https://github.com/zulip/zulip.git
synced 2025-11-05 22:43:42 +00:00
Whenever a link is clicked, the page link changes, and the content of the `.markdown .content` node updates, preventing the old listener to catch any future anchor link clicks. We attach the listener to the document instead and only activate it when the target element is a proper anchor link heading. Fixes #9767.
5.7 KiB
5.7 KiB