mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-12-18 11:03:17 +00:00
Update Sidebar.vue
This commit is contained in:
parent
56f02fde79
commit
94373e3ea7
1 changed files with 0 additions and 9 deletions
|
@ -146,15 +146,6 @@
|
||||||
this.searchQuery = input;
|
this.searchQuery = input;
|
||||||
// this.tab = 'searchresults';
|
// this.tab = 'searchresults';
|
||||||
|
|
||||||
if(input.startsWith('http')) {
|
|
||||||
let url = new URL(input);
|
|
||||||
if(url.hostname == location.hostname) {
|
|
||||||
location.href = input;
|
|
||||||
return [];
|
|
||||||
}
|
|
||||||
return [];
|
|
||||||
}
|
|
||||||
|
|
||||||
if(input.startsWith('#')) {
|
if(input.startsWith('#')) {
|
||||||
this.$bvToast.toast(input, {
|
this.$bvToast.toast(input, {
|
||||||
title: 'Hashtag detected',
|
title: 'Hashtag detected',
|
||||||
|
|
Loading…
Reference in a new issue