mirror of
https://github.com/wallabag/wallabag.git
synced 2024-12-16 10:22:14 +01:00
search field selected
This commit is contained in:
parent
e38e46ecdb
commit
04b589420e
@ -1,7 +1,7 @@
|
||||
<div id="search-form" class="messages info">
|
||||
<form method="get" action="index.php">
|
||||
<input type="hidden" name="view" value="search"></input>
|
||||
<label><a href="javascript: void(null);" id="search-form-close">X</a>{% trans "Search" %}</label> : <input type="text" name="search" />
|
||||
<label><a href="javascript: void(null);" id="search-form-close">X</a>{% trans "Search" %}</label> : <input required placeholder="{% trans "something to search" %}" type="text" name="search" id="searchfield" />
|
||||
<input id="submit-search" type="submit" value="{% trans "Search" %} !"></input>
|
||||
</form>
|
||||
</div>
|
@ -10,6 +10,7 @@ $(document).ready(function() {
|
||||
|
||||
$("#search").click(function(){
|
||||
closeSearch();
|
||||
$('#searchfield').focus();
|
||||
});
|
||||
|
||||
$("#search-form-close").click(function(){
|
||||
|
Loading…
Reference in New Issue
Block a user