mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-02-26 15:54:35 +08:00
parent
2b8e203e0a
commit
06b17cb09e
1 changed files with 3 additions and 3 deletions
|
@ -112,14 +112,14 @@ export async function update(
|
|||
const git = profile.details?.socialProfiles.github;
|
||||
if (git) {
|
||||
socialsEl.append(
|
||||
`<a href='https://github.com/${git}/' aria-label="${git}" data-balloon-pos="up"><i class="fab fa-fw fa-github"></i></a>`
|
||||
`<a href='https://github.com/${git}/' target="_blank" aria-label="${git}" data-balloon-pos="up"><i class="fab fa-fw fa-github"></i></a>`
|
||||
);
|
||||
}
|
||||
|
||||
const twitter = profile.details?.socialProfiles.twitter;
|
||||
if (twitter) {
|
||||
socialsEl.append(
|
||||
`<a href='https://twitter.com/${twitter}' aria-label="${twitter}" data-balloon-pos="up"><i class="fab fa-fw fa-twitter"></i></a>`
|
||||
`<a href='https://twitter.com/${twitter}' target="_blank" aria-label="${twitter}" data-balloon-pos="up"><i class="fab fa-fw fa-twitter"></i></a>`
|
||||
);
|
||||
}
|
||||
|
||||
|
@ -131,7 +131,7 @@ export async function update(
|
|||
|
||||
if (website) {
|
||||
socialsEl.append(
|
||||
`<a href='${website}' aria-label="${websiteName}" data-balloon-pos="up"><i class="fas fa-fw fa-globe"></i></a>`
|
||||
`<a href='${website}' target="_blank" aria-label="${websiteName}" data-balloon-pos="up"><i class="fas fa-fw fa-globe"></i></a>`
|
||||
);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue