From b7d76025c0a77f6a87eb606cd191a97a33716716 Mon Sep 17 00:00:00 2001 From: ghost Date: Sun, 2 Jan 2022 06:54:41 +0200 Subject: [PATCH] set target blank for the profile links --- src/public/js/module/following.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/public/js/module/following.js b/src/public/js/module/following.js index 4592af7..3994165 100644 --- a/src/public/js/module/following.js +++ b/src/public/js/module/following.js @@ -81,7 +81,7 @@ var ModuleFollowing = { $(list).find('div[data-username="' + userName + '"] .username > a').html(response.profile.fullName ? response.profile.fullName : response.profile.userName); $(list).find('div[data-username="' + userName + '"] .location').html(response.profile.location); - $(list).find('div[data-username="' + userName + '"] .url').html(response.profile.url == '' ? '' : $('',{'href':response.profile.url,'class':'bi bi-link','title':'Website'})); + $(list).find('div[data-username="' + userName + '"] .url').html(response.profile.url == '' ? '' : $('',{'href':response.profile.url,'class':'bi bi-link','target':'_blank','title':'Website'})); $(list).find('div[data-username="' + userName + '"] .bio').html(response.profile.bio); $(list).find('div[data-username="' + userName + '"] .bitMessage').html(response.profile.bitMessage == '' ? '' : $('',{'href':'bitmessage:' + response.profile.bitMessage,'class':'bi bi-send','title':'BitMessage'})); $(list).find('div[data-username="' + userName + '"] .tox').html(response.profile.tox == '' ? '' : $('',{'href':'tox:' + response.profile.tox,'class':'bi bi-chat-square-dots','title':'TOX'}));