about summary refs log tree commit diff
diff options
context:
space:
mode:
authorDavid Libeau <DavidLibeau@users.noreply.github.com>2017-04-12 19:09:58 +0200
committerIsabelle Knott <isabelle@blackle-mori.com>2017-04-12 13:09:58 -0400
commitc2a31b8032326e55a0832723bf2a590720d59892 (patch)
tree776a3c5cd716015454f00e2fc4ff53435071f2a9
parent9e63bf446e04fea9e3985eeb36068ca9f32b9539 (diff)
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.
-rw-r--r--app/views/stream_entries/_detailed_status.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/stream_entries/_detailed_status.html.haml b/app/views/stream_entries/_detailed_status.html.haml
index c42e6614a..466e0dd5a 100644
--- a/app/views/stream_entries/_detailed_status.html.haml
+++ b/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'