Always open tag in same instance

feature/image-description-authoring
Edijs 6 years ago
parent a12397cf38
commit a215f6856d

@ -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)
}
}
},

Loading…
Cancel
Save