Open clicked links the statusnet_html in a new window.

This commit is contained in:
Roger Braun 2017-02-19 12:58:25 +01:00
parent 73f46bfba6
commit 04c4ad9a65
4 changed files with 12 additions and 2 deletions

View file

@ -20,6 +20,11 @@ const Attachment = {
}
},
methods: {
linkClicked ({target}) {
if (target.tagName === 'A') {
window.open(target.href, '_blank')
}
},
toggleHidden () {
this.showHidden = !this.showHidden
}