Merge branch 'hotfix/open-link' into 'develop'

Fix clicking link - open new tab unless tag or mention

See merge request pleroma/pleroma-fe!562
This commit is contained in:
Shpuld Shpludson 2019-02-11 15:01:15 +00:00
commit 8efe30c2dc

View file

@ -298,8 +298,10 @@ const Status = {
if (tag) { if (tag) {
const link = this.generateTagLink(tag) const link = this.generateTagLink(tag)
this.$router.push(link) this.$router.push(link)
return
} }
} }
window.open(target.href, '_blank')
} }
}, },
toggleReplying () { toggleReplying () {