Fix target blank on "open_in_web" link (#1612)

When you render the "embed" view in an iframe, this link bugs when clicked, due to missing target blank.
feature/8296-invite_api
David Libeau 6 years ago committed by Isabelle Knott
parent 9e63bf446e
commit c2a31b8032
  1. 2
      app/views/stream_entries/_detailed_status.html.haml

@ -49,4 +49,4 @@
- if user_signed_in?
·
= link_to t('statuses.open_in_web'), web_url("statuses/#{status.id}"), class: 'open-in-web-link'
= link_to t('statuses.open_in_web'), web_url("statuses/#{status.id}"), class: 'open-in-web-link', target: '_blank'

Loading…
Cancel
Save