Skip to content

Commit

Permalink
Focus search box when opening the popup
Browse files Browse the repository at this point in the history
  • Loading branch information
josh-berry committed Jun 17, 2023
1 parent d46ed31 commit 0f9935e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/stash-list/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -338,7 +338,7 @@ export default defineComponent({
},
mounted() {
if (document.documentElement.classList.contains("view-popup")) {
if (document.documentElement.dataset.view === "popup") {
(<any>this.$refs.search).focus();
}
Expand Down

0 comments on commit 0f9935e

Please sign in to comment.