Commit 7fa918825c6ee701d0c3e3094b1b24778f43a177
1 parent
b1f48dcf
Exists in
master
Focus on search upon clicking 'Go to search'
Signed-off-by: Carlos Oliveira <carlosoliveira@duzeru.org>
Showing
1 changed file
with
10 additions
and
0 deletions
Show diff stats
src/colab-spb-theme-plugin/colab_spb_theme/templates/header.html
1 | 1 | {% load i18n gravatar plugins %} |
2 | 2 | {% load static from staticfiles %} |
3 | 3 | |
4 | +{% block head_js %} | |
5 | + <script> | |
6 | + $(document).ready(function(){ | |
7 | + $("#link-buscar").click(function(){ | |
8 | + $("#nolivesearchGadget").focus(); | |
9 | + }); | |
10 | + }); | |
11 | + </script> | |
12 | +{% endblock %} | |
13 | + | |
4 | 14 | <header> |
5 | 15 | <div class="colab-style"> |
6 | 16 | <div id="barra-brasil"> | ... | ... |