Fixes links to notes in collapsed discussions
What does this MR do?
Adds a hashchange
listener to window
to handle all of the referenced links in comments. They are basically anchor tags and they will update the hash of the URL, so we need a global hashchange
listener.
Screenshots
Before | After |
---|---|
Does this MR meet the acceptance criteria?
Conformity
-
Changelog entry - Documentation (if required)
-
Code review guidelines -
Merge request performance guidelines -
Style guides - Database guides
- Separation of EE specific content
Related to #28985 (closed)
Edited by Coung Ngo