Commit 7fa918825c6ee701d0c3e3094b1b24778f43a177

Authored by Carlos Oliveira
1 parent b1f48dcf
Exists in master

Focus on search upon clicking 'Go to search'

Signed-off-by: Carlos Oliveira <carlosoliveira@duzeru.org>
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">
... ...