Merge pull request #1316 from wallabag/v2-focus-searchform

fix #1310 add focus to search form
This commit is contained in:
Thomas Citharel 2015-08-11 20:00:30 +02:00
commit 95135988f9

View file

@ -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;
});
});
});