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