0
0

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.
This commit is contained in:
David Libeau 2017-04-12 19:09:58 +02:00 committed by Isabelle Knott
parent 9e63bf446e
commit c2a31b8032

View File

@ -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'