Skip to content

Commit a1601b4

Browse files
Use input type search on search instead of text (#291)
1 parent 35e0de7 commit a1601b4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/frontend/header.nim

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,8 +96,8 @@ when defined(js):
9696
section(class="navbar-section"):
9797
tdiv(class="input-group input-inline"):
9898
input(class="search-input input-sm",
99-
`type`="text", placeholder="search",
100-
id="search-box",
99+
`type`="search", placeholder="Search",
100+
id="search-box", required="required",
101101
onKeyDown=onKeyDown)
102102
if state.loading:
103103
tdiv(class="loading")

0 commit comments

Comments
 (0)