mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 15:05:24 +08:00
ae0ca39bd1
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 |