enable search field autofocus
This commit is contained in:
parent
bfc072c745
commit
8408ebf944
@ -30,6 +30,7 @@
|
|||||||
clear_search: "Löschen"
|
clear_search: "Löschen"
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
document.getElementsByClassName("pagefind-ui__search-input")[0].autofocus=true;
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
@ -67,7 +67,7 @@
|
|||||||
{{ end }}
|
{{ end }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
<li class="nav-item">
|
<li class="nav-item">
|
||||||
<div class="nav-link nav-search" onclick="$('#pagefind-search').modal('show');">Suche</button>
|
<div class="nav-link nav-search" id="search-button" onclick="$('#pagefind-search').modal('show');">Suche</div>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user