浏览代码

Update Sidebar.vue

Daniel Supernault 11 月之前
父节点
当前提交
94373e3ea7
共有 1 个文件被更改,包括 0 次插入9 次删除
  1. 0 9
      resources/assets/components/groups/sections/Sidebar.vue

+ 0 - 9
resources/assets/components/groups/sections/Sidebar.vue

@@ -146,15 +146,6 @@
                 this.searchQuery = input;
                 // 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('#')) {
                     this.$bvToast.toast(input, {
                         title: 'Hashtag detected',