Skip to content

Commit

Permalink
sets autofocus property when page is loaded #2657 #2836
Browse files Browse the repository at this point in the history
  • Loading branch information
antoniogamiz committed Jul 19, 2019
1 parent 9e48e51 commit 8a70db0
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions template/footer.html
Expand Up @@ -24,3 +24,8 @@

<script type="text/javascript" src="/js/app.js?v=1"></script>
<script type="text/javascript" src="/js/search.js?v=3"></script>
<script type="text/javascript">
$(document).ready(function() {
$('query').autofocus = true;
});
</script>

0 comments on commit 8a70db0

Please sign in to comment.