mirror of
https://github.com/wallabag/wallabag.git
synced 2024-12-18 05:36:30 +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-panels .action").hide(100);
|
||||||
$(".nav-panel-menu").addClass('hidden');
|
$(".nav-panel-menu").addClass('hidden');
|
||||||
$(".nav-panels").css('background', 'white');
|
$(".nav-panels").css('background', 'white');
|
||||||
|
$("#searchfield").focus();
|
||||||
return false;
|
return false;
|
||||||
});
|
});
|
||||||
$('.mdi-navigation-close').click(function(){
|
$('.mdi-navigation-close').click(function(){
|
||||||
|
|
Loading…
Reference in a new issue