Open clicked links the statusnet_html in a new window.
This commit is contained in:
parent
73f46bfba6
commit
04c4ad9a65
4 changed files with 12 additions and 2 deletions
|
@ -40,6 +40,11 @@ const Status = {
|
|||
UserCardContent
|
||||
},
|
||||
methods: {
|
||||
linkClicked ({target}) {
|
||||
if (target.tagName === 'A') {
|
||||
window.open(target.href, '_blank')
|
||||
}
|
||||
},
|
||||
toggleReplying () {
|
||||
this.replying = !this.replying
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue