1
0
mirror of https://github.com/Wonderfall/hugo-WonderMod.git synced 2025-03-31 14:43:35 +02:00

Set maxlength for search input to 64 chars

fixes  
This commit is contained in:
Aditya Telange 2023-11-11 12:15:11 +05:30
parent 4c50ed8bfa
commit ba739cfe29
No known key found for this signature in database
GPG Key ID: 82E844EF3DA99E77

@ -22,7 +22,7 @@
<div id="searchbox">
<input id="searchInput" autofocus placeholder="{{ .Params.placeholder | default (printf "%s " .Title) }}"
aria-label="search" type="search" autocomplete="off">
aria-label="search" type="search" autocomplete="off" maxlength="64">
<ul id="searchResults" aria-label="search results"></ul>
</div>