add focus to search form

This commit is contained in:
Nicolas Lœuillet 2015-08-11 18:07:02 +02:00
parent f59601fced
commit d85454fbf8

View file

@ -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(){