Add auto focus feature on search box
This commit is contained in:
parent
93be43f080
commit
b9c06d52ed
|
|
@ -9,7 +9,7 @@
|
|||
<ul class="search-list" id="result">
|
||||
<!-- <li><a href="#"><strong>find</strong> - 指定目录下查找文件。</a></li> -->
|
||||
</ul>
|
||||
<input type="text" class="query" id="query" autocomplete="off" placeholder="Linux 命令搜索"/>
|
||||
<input type="text" class="query" id="query" autocomplete="off" autofocus="autofocus" placeholder="Linux 命令搜索"/>
|
||||
<div class="enter-input">
|
||||
<input type="hidden" id="current_path" value="<%=current_path%>">
|
||||
<button id="search_btn">搜索</button>
|
||||
|
|
|
|||
Loading…
Reference in New Issue