[fix] the search text input gets the focus automatically

pull/1/head
dalf 11 years ago
parent 2006a1df1c
commit 43a6ffcd46

@ -1,6 +1,6 @@
<form method="post" action="/" id="search_form"> <form method="post" action="/" id="search_form">
<div id="search_wrapper"> <div id="search_wrapper">
<input type="text" class="q" name="q" tabindex="1" autocomplete="off" {% if q %}value="{{ q }}"{% endif %}/> <input type="text" id="q" class="q" name="q" tabindex="1" autocomplete="off" {% if q %}value="{{ q }}"{% endif %}/>
<input type="submit" value="" id="search_submit" /> <input type="submit" value="" id="search_submit" />
</div> </div>
<div> <div>

Loading…
Cancel
Save