mirror of
https://github.com/Xevion/glance.git
synced 2025-12-10 00:07:18 -06:00
Add autofocus property to search widget
This commit is contained in:
@@ -16,7 +16,7 @@
|
||||
</svg>
|
||||
</div>
|
||||
|
||||
<input class="search-input" type="text" placeholder="Type here to search…" autocomplete="off">
|
||||
<input class="search-input" type="text" placeholder="Type here to search…" autocomplete="off"{{ if .Autofocus }} autofocus{{ end }}>
|
||||
|
||||
<div class="search-bang"></div>
|
||||
<kbd class="hide-on-mobile" title="Press [S] to focus the search input">S</kbd>
|
||||
|
||||
Reference in New Issue
Block a user