mirror of
https://github.com/netbox-community/netbox.git
synced 2025-08-17 13:08:16 -06:00
remove autofocus from searchbar
This commit is contained in:
parent
055c67f6be
commit
e0fedd1747
@ -5,11 +5,7 @@
|
|||||||
aria-label="Search"
|
aria-label="Search"
|
||||||
placeholder="Search"
|
placeholder="Search"
|
||||||
class="form-control"
|
class="form-control"
|
||||||
value=""
|
value="{{ request.GET.q|escape }}"
|
||||||
{% if request.GET.q %}
|
|
||||||
autofocus
|
|
||||||
onfocus="this.value = '{{ request.GET.q|escapejs }}';"
|
|
||||||
{% endif %}
|
|
||||||
/>
|
/>
|
||||||
|
|
||||||
<input name="obj_type" hidden type="text" class="search-obj-type" />
|
<input name="obj_type" hidden type="text" class="search-obj-type" />
|
||||||
|
Loading…
Reference in New Issue
Block a user