aboutsummaryrefslogtreecommitdiff
path: root/src/components/user_profile/user_profile.js
diff options
context:
space:
mode:
authorkPherox <admin@mail.kr-kp.com>2019-11-16 03:12:16 +0900
committerkPherox <admin@mail.kr-kp.com>2019-11-20 00:19:47 +0900
commitca4d5950d08aec6fe016b56f7125f7328c1e19a1 (patch)
treea9b0bdeadca46e5b77d22573f33fba4d474777cb /src/components/user_profile/user_profile.js
parent0eda60eeb49f4fa460fe6f9f6196ddbb014427c7 (diff)
Display user profile fields
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 00055707..c5ab5f26 100644
--- a/src/components/user_profile/user_profile.js
+++ b/src/components/user_profile/user_profile.js
@@ -123,6 +123,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: {