diff --git a/frontend/src/App.vue b/frontend/src/App.vue index d7d3589e7..b3474e9eb 100644 --- a/frontend/src/App.vue +++ b/frontend/src/App.vue @@ -35,14 +35,6 @@ export default { }, }, - async created() { - window.addEventListener("keyup", e => { - if (e.key == "/" && !document.activeElement.id.startsWith("input")) { - this.search = !this.search; - } - }); - }, - async mounted() { this.$store.dispatch("initTheme"); this.$store.dispatch("requestRecentRecipes"); diff --git a/frontend/src/components/UI/Search/SearchBar.vue b/frontend/src/components/UI/Search/SearchBar.vue index 776a913bd..afb7540d0 100644 --- a/frontend/src/components/UI/Search/SearchBar.vue +++ b/frontend/src/components/UI/Search/SearchBar.vue @@ -1,29 +1,49 @@