enable search field autofocus
This commit is contained in:
parent
bfc072c745
commit
8408ebf944
@ -30,6 +30,7 @@
|
||||
clear_search: "Löschen"
|
||||
}
|
||||
});
|
||||
document.getElementsByClassName("pagefind-ui__search-input")[0].autofocus=true;
|
||||
});
|
||||
</script>
|
||||
|
||||
|
@ -67,7 +67,7 @@
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
<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>
|
||||
</ul>
|
||||
</div>
|
||||
|
Loading…
x
Reference in New Issue
Block a user