Which part of the code executes when we click a link on a post?

I need to know which part of the discourse source code is ignited when we click an external link in a discourse post. I had no luck going through previous threads

1 Like

https://github.com/discourse/discourse/blob/master/app/assets/javascripts/discourse/components/discourse-topic.js.es6#L51-L64

Also, have a look here and here.

8 Likes

Thank you @vinothkannans