mirror of
https://gh.wpcy.net/https://github.com/discourse/discourse.git
synced 2026-05-03 07:58:46 +08:00
In most cases, these links are handled in JavaScript, so the `href` and `target` are not used. However, when the `link-to-post` refers to a post which is not currently loaded in the DOM (e.g. it is the OP), then the href is used, and we need to add a `target` to prevent page navigation within the embed iframe. |
||
|---|---|---|
| .. | ||
| comments.html.erb | ||
| embed_error.html.erb | ||
| embed_topics_error.html.erb | ||
| loading.html.erb | ||
| topics.html.erb | ||