From a215f6856d0dff53869a4c20e538eb744b636a4d Mon Sep 17 00:00:00 2001 From: Edijs Date: Wed, 6 Feb 2019 21:26:32 -0700 Subject: [PATCH] Always open tag in same instance --- src/components/status/status.js | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/src/components/status/status.js b/src/components/status/status.js index cccb19cc..1ebb8a8d 100644 --- a/src/components/status/status.js +++ b/src/components/status/status.js @@ -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) } } },