aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEdijs <iamedijs@hotmail.com>2019-02-06 21:26:32 -0700
committerEdijs <iamedijs@hotmail.com>2019-02-06 21:26:32 -0700
commita215f6856d0dff53869a4c20e538eb744b636a4d (patch)
tree57c1080ca66e1a818268d5ecdea7697d2e21bb5d
parenta12397cf387da7d411184a72f9c128ba6486a631 (diff)
Always open tag in same instance
-rw-r--r--src/components/status/status.js8
1 files changed, 1 insertions, 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)
}
}
},