Skip to content
Snippets Groups Projects

Allow to click hyperlink inside markdown/html content

Merged Tae Hoon requested to merge tae/pleroma-fe:592 into develop
1 unresolved thread

closes #592 (closed)

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
323 323 },
324 324 linkClicked (event) {
325 325 let { target } = event
326 if (target.tagName === 'SPAN') {
327 target = target.parentNode
328 }
329 if (target.tagName === 'A') {
326 target = target.tagName === 'A' ? target : target.closest('.status-content a')
  • Tae Hoon added 1 commit

    added 1 commit

    • 1cefaa84 - closest can returns itself as well

    Compare with previous version

  • mentioned in commit c2cef305

  • Please register or sign in to reply
    Loading