fix page search input being focusable when hidden

This commit is contained in:
geoffrey45
2022-10-14 17:08:39 +03:00
committed by Mungai Njoroge
parent bbe7984e4e
commit 823b52fc04
3 changed files with 4 additions and 10 deletions
-8
View File
@@ -73,10 +73,6 @@ defineProps<{
album: AlbumInfo;
}>();
const emit = defineEmits<{
(event: "resetBottomPadding"): void;
}>();
const albumheaderthing = ref<any>(null);
const imguri = paths.images;
const nav = useNavStore();
@@ -88,10 +84,6 @@ const nav = useNavStore();
* @param {boolean} state the new visibility state of the album page header.
*/
function handleVisibilityState(state: boolean) {
if (state) {
emit("resetBottomPadding");
}
nav.toggleShowPlay(state);
}