Skip to content

Commit

Permalink
Add back missing ref
Browse files Browse the repository at this point in the history
  • Loading branch information
MarmadileManteater committed Feb 1, 2025
1 parent 93b60b7 commit 43b33aa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/renderer/components/top-nav/top-nav.js
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ export default defineComponent({
const doCreateNewWindow = event && event.shiftKey

if (window.innerWidth <= MOBILE_WIDTH_THRESHOLD) {
this.$refs.searchInput.blur()
this.$refs.searchContainer.blur()
this.showSearchContainer = false
} else {
this.$refs.searchInput.blur()
Expand Down
1 change: 1 addition & 0 deletions src/renderer/components/top-nav/top-nav.vue
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@
/>
<font-awesome-icon
v-if="!hideSearchBar"
ref="searchContainer"
class="navSearchIcon navIcon"
:icon="['fas', 'search']"
role="button"
Expand Down

0 comments on commit 43b33aa

Please sign in to comment.