Open masto header links externally

This commit is contained in:
Simon Detheridge 2023-10-17 17:04:52 +01:00
parent e3df8db9bb
commit 5435e0c8c0
Signed by: simon
GPG Key ID: 38640971DA1E704E
3 changed files with 3 additions and 3 deletions

View File

@ -6,7 +6,7 @@ function dropdown(){const o=window.matchMedia("(max-width: 767px)"),i=document.q
<div class="mastodon-meta">
<div class="mastodon-author">
<div class="mastodon-author-link">
<a href="${i.account.url}" rel="nofollow">
<a href="${i.account.url}" target="_blank" rel="nofollow">
<span>${i.account.display_name}</span>
</a>
<br/>

File diff suppressed because one or more lines are too long

View File

@ -49,7 +49,7 @@ function renderMastodonContent(toots, parentElement, showLink) {
<div class="mastodon-meta">
<div class="mastodon-author">
<div class="mastodon-author-link">
<a href="${toot.account.url}" rel="nofollow">
<a href="${toot.account.url}" target="_blank" rel="nofollow">
<span>${toot.account.display_name}</span>
</a>
<br/>