logo

mastofe

My custom branche(s) on git.pleroma.social/pleroma/mastofe
commit: c2a31b8032326e55a0832723bf2a590720d59892
parent: 9e63bf446e04fea9e3985eeb36068ca9f32b9539
Author: David Libeau <DavidLibeau@users.noreply.github.com>
Date:   Wed, 12 Apr 2017 19:09:58 +0200

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.

Diffstat:

Mapp/views/stream_entries/_detailed_status.html.haml2+-
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 @@ -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'