aboutsummaryrefslogtreecommitdiff
path: root/src/components/user_profile/user_profile.js
diff options
context:
space:
mode:
authorShpuld Shpludson <shp@cock.li>2020-06-19 08:04:54 +0000
committerShpuld Shpludson <shp@cock.li>2020-06-19 08:04:54 +0000
commit95f5c7fff6e45444c90705c58ebe5ef713871039 (patch)
tree4797b1ca243d9e5f26439936c8e5edb341218c44 /src/components/user_profile/user_profile.js
parent6343ee929c71d444ab14de3cc17151cb9ca1eb06 (diff)
parenteed58a7b97bc8c6cddfd367c8d49972a96dfd08e (diff)
Merge branch 'iss-149/profile-fields-display' into 'develop'
Display profile fields See merge request pleroma/pleroma-fe!1004
Diffstat (limited to 'src/components/user_profile/user_profile.js')
-rw-r--r--src/components/user_profile/user_profile.js8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/components/user_profile/user_profile.js b/src/components/user_profile/user_profile.js
index 95760bf8..201727d4 100644
--- a/src/components/user_profile/user_profile.js
+++ b/src/components/user_profile/user_profile.js
@@ -124,6 +124,14 @@ const UserProfile = {
onTabSwitch (tab) {
this.tab = tab
this.$router.replace({ query: { tab } })
+ },
+ linkClicked ({ target }) {
+ if (target.tagName === 'SPAN') {
+ target = target.parentNode
+ }
+ if (target.tagName === 'A') {
+ window.open(target.href, '_blank')
+ }
}
},
watch: {