Browse Source

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.
master
David Libeau 7 years ago
committed by Isabelle Knott
parent
commit
c2a31b8032
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      app/views/stream_entries/_detailed_status.html.haml

+ 1
- 1
app/views/stream_entries/_detailed_status.html.haml 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'

Loading…
Cancel
Save