Fix focus when you click on cog. re #90

This commit is contained in:
Sébastien Lucas 2013-09-11 10:26:05 +02:00
parent ddde506dcb
commit 6c9c51a706

View file

@ -285,6 +285,7 @@ function handleLinks () {
$("body").on ("click", ".headright", function(){ $("body").on ("click", ".headright", function(){
if ($("#tool").is(":hidden")) { if ($("#tool").is(":hidden")) {
$("#tool").slideDown("slow"); $("#tool").slideDown("slow");
$("input[name=query]").focus();
$.cookie('toolbar', '1', { expires: 365 }); $.cookie('toolbar', '1', { expires: 365 });
} else { } else {
$("#tool").slideUp(); $("#tool").slideUp();