Commit 2041e2ca authored by fred's avatar fred

automatically focus search field

parent f9c938c0
......@@ -200,6 +200,9 @@ $(function() {
$('[data-toggle].icon-check-empty').each(function(){
$(this).trigger('uncheck');
});
if ($('input#id_q').val() == '') {
$('input#id_q').focus();
}
}
init();
});
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment