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 |