mirror of
https://github.com/wallabag/wallabag.git
synced 2024-12-17 21:26:27 +00:00
Merge pull request #1316 from wallabag/v2-focus-searchform
fix #1310 add focus to search form
This commit is contained in:
commit
95135988f9
1 changed files with 2 additions and 1 deletions
|
@ -21,6 +21,7 @@ $(document).ready(function(){
|
|||
$(".nav-panels .action").hide(100);
|
||||
$(".nav-panel-menu").addClass('hidden');
|
||||
$(".nav-panels").css('background', 'white');
|
||||
$("#searchfield").focus();
|
||||
return false;
|
||||
});
|
||||
$('.mdi-navigation-close').click(function(){
|
||||
|
@ -32,4 +33,4 @@ $(document).ready(function(){
|
|||
$(".nav-panels").css('background', 'transparent');
|
||||
return false;
|
||||
});
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue