aboutsummaryrefslogtreecommitdiff
path: root/src/components/status/status.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/status/status.js')
-rw-r--r--src/components/status/status.js8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/components/status/status.js b/src/components/status/status.js
index 030e22b5..46add8aa 100644
--- a/src/components/status/status.js
+++ b/src/components/status/status.js
@@ -40,6 +40,14 @@ const Status = {
UserCardContent
},
methods: {
+ linkClicked ({target}) {
+ if (target.tagName === 'SPAN') {
+ target = target.parentNode
+ }
+ if (target.tagName === 'A') {
+ window.open(target.href, '_blank')
+ }
+ },
toggleReplying () {
this.replying = !this.replying
},