aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorShpuld Shpludson <shp@cock.li>2019-02-11 15:01:15 +0000
committerShpuld Shpludson <shp@cock.li>2019-02-11 15:01:15 +0000
commit8efe30c2dcc3d1ee22d00666ad6cb42f636ebb69 (patch)
tree278d81db6cffd8428607f4cf9e4dd72c9cca8dfd /src
parentb6bac4d06d815e2ccdcfc86ba14cae75908570ca (diff)
parentf3d2e41a9b4908c38a6bcd72b8e1a97611270511 (diff)
Merge branch 'hotfix/open-link' into 'develop'
Fix clicking link - open new tab unless tag or mention See merge request pleroma/pleroma-fe!562
Diffstat (limited to 'src')
-rw-r--r--src/components/status/status.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/components/status/status.js b/src/components/status/status.js
index 06e4fe93..0273a5be 100644
--- a/src/components/status/status.js
+++ b/src/components/status/status.js
@@ -298,8 +298,10 @@ const Status = {
if (tag) {
const link = this.generateTagLink(tag)
this.$router.push(link)
+ return
}
}
+ window.open(target.href, '_blank')
}
},
toggleReplying () {