Always open tag in same instance

This commit is contained in:
Edijs 2019-02-06 21:26:32 -07:00
parent a12397cf38
commit a215f6856d

View file

@ -283,13 +283,7 @@ const Status = {
return
}
} else {
if (target.hostname === window.location.hostname) {
// if the hashtag's target is current instance, open in same tab
this.$router.push(target.pathname)
} else {
// if it is different instance, open in a new tab
window.open(target.href, '_blank')
}
this.$router.push(target.pathname)
}
}
},