diff options
Diffstat (limited to 'forum/skins/default/templates/base.html')
-rw-r--r-- | forum/skins/default/templates/base.html | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/forum/skins/default/templates/base.html b/forum/skins/default/templates/base.html index ed674fef..a4e4ceed 100644 --- a/forum/skins/default/templates/base.html +++ b/forum/skins/default/templates/base.html @@ -38,6 +38,7 @@ </script> {% endif %} {% if active_tab != "tags" and active_tab != "users" %} + {% comment %}start asking question with title from search query{% endcomment %} <script type="text/javascript"> $(document).ready(function(){ $('#nav_ask').click( @@ -50,6 +51,7 @@ ); }); </script> + {% comment %}focus input on the search bar{% endcomment %} <script type="text/javascript"> $(document).ready(function() { {% if active_tab != "ask" %} @@ -59,7 +61,6 @@ {% endif %} }); </script> - {% endif %} {% block forejs %} {% endblock %} |