mirror of
https://github.com/McShelby/hugo-theme-relearn.git
synced 2025-06-23 01:00:31 +00:00
a11y: improve search box #821
This commit is contained in:
parent
8f135335f3
commit
2c8cf85ea1
5 changed files with 29 additions and 23 deletions
static/js
|
@ -271,7 +271,7 @@ function startSearch(){
|
|||
|
||||
var searchList = new autoComplete({
|
||||
/* selector for the search box element */
|
||||
selectorToInsert: '#R-header-wrapper',
|
||||
selectorToInsert: 'search:has(.searchbox)',
|
||||
selector: '#R-search-by',
|
||||
/* source is the callback to perform the search */
|
||||
source: function(term, response) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue