diff options
author | Mario Vavti <mario@mariovavti.com> | 2017-03-15 12:41:37 +0100 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2017-03-15 12:41:37 +0100 |
commit | 0c973cc9fa4034ae894dfac841987b3f9e8ec335 (patch) | |
tree | ef5549fcb6547cdc67c4de41e48affc04eb1a5d5 /view/tpl/nav.tpl | |
parent | 3b2398ed015f1ada35b4098f6cc7f4431c65423d (diff) | |
download | volse-hubzilla-0c973cc9fa4034ae894dfac841987b3f9e8ec335.tar.gz volse-hubzilla-0c973cc9fa4034ae894dfac841987b3f9e8ec335.tar.bz2 volse-hubzilla-0c973cc9fa4034ae894dfac841987b3f9e8ec335.zip |
various fixes
Diffstat (limited to 'view/tpl/nav.tpl')
-rwxr-xr-x | view/tpl/nav.tpl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/view/tpl/nav.tpl b/view/tpl/nav.tpl index 003c17fa7..5903df689 100755 --- a/view/tpl/nav.tpl +++ b/view/tpl/nav.tpl @@ -173,12 +173,12 @@ <ul id="nav-right" class="navbar-nav hidden-sm-down ml-auto"> <li class="nav-item collapse clearfix" id="nav-search"> <form class="form-inline" method="get" action="search" role="search"> - <input class="form-control form-control-sm mt-1 mr-2" id="nav-search-text" type="text" value="" placeholder=" {{$help}}" name="search" title="{{$nav.search.3}}" onclick="this.submit();" onblur=" $('#nav-search').hide(); $('#nav-search-btn').show();"/> + <input class="form-control form-control-sm mt-1 mr-2" id="nav-search-text" type="text" value="" placeholder=" {{$help}}" name="search" title="{{$nav.search.3}}" onclick="this.submit();" onblur="closeMenu('nav-search'); openMenu('nav-search-btn');"/> </form> <div id="nav-search-spinner"></div> </li> <li class="nav-item" id="nav-search-btn"> - <a class="nav-link" href="#nav-search" title="{{$nav.search.3}}" onclick="$('#nav-search').show(); $('#nav-search-btn').hide(); $('#nav-search-text').focus(); return false;"><i class="fa fa-fw fa-search"></i></a> + <a class="nav-link" href="#nav-search" title="{{$nav.search.3}}" onclick="openMenu('nav-search'); closeMenu('nav-search-btn'); $('#nav-search-text').focus(); return false;"><i class="fa fa-fw fa-search"></i></a> </li> {{if $nav.help.6}} <li class="nav-item dropdown {{$sel.help}}"> |