From c2a31b8032326e55a0832723bf2a590720d59892 Mon Sep 17 00:00:00 2001 From: David Libeau Date: Wed, 12 Apr 2017 19:09:58 +0200 Subject: [PATCH] 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. --- app/views/stream_entries/_detailed_status.html.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/stream_entries/_detailed_status.html.haml b/app/views/stream_entries/_detailed_status.html.haml index c42e6614a2c..466e0dd5ae1 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'