From 9abbe94108810402fba0e5ae45b0716c221d6896 Mon Sep 17 00:00:00 2001 From: Johann150 Date: Thu, 28 Jul 2022 15:39:03 +0200 Subject: [PATCH] client: search button is a no-op Don't be evil. reference: https://akkoma.dev/FoundKeyGang/FoundKey/issues/2#issuecomment-495 --- .../src/components/{google.vue => mfm-search.vue} | 10 +++------- packages/client/src/components/mfm.ts | 4 ++-- 2 files changed, 5 insertions(+), 9 deletions(-) rename packages/client/src/components/{google.vue => mfm-search.vue} (76%) diff --git a/packages/client/src/components/google.vue b/packages/client/src/components/mfm-search.vue similarity index 76% rename from packages/client/src/components/google.vue rename to packages/client/src/components/mfm-search.vue index 210ca72bf..eb7f3cafc 100644 --- a/packages/client/src/components/google.vue +++ b/packages/client/src/components/mfm-search.vue @@ -1,7 +1,7 @@ @@ -13,14 +13,10 @@ const props = defineProps<{ }>(); const query = ref(props.q); - -const search = () => { - window.open(`https://www.google.com/search?q=${query.value}`, '_blank'); -};