fixup! Add search for mobile view
This commit is contained in:
@@ -14,8 +14,12 @@
|
||||
const emit = defineEmits('searchDone')
|
||||
|
||||
const vMobileFocus = {
|
||||
mounted: (el, binding) => el.focus();
|
||||
}
|
||||
mounted: (el, binding) => {
|
||||
if (binding.value) {
|
||||
el.focus()
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
function onSearchClick() {
|
||||
if (typeof searchterm.value === "undefined" || searchterm.value === "") {
|
||||
|
||||
Reference in New Issue
Block a user