fix mobile nav not showing list as highlighted, if no "site" is set

This commit is contained in:
Tim Krehan 2019-05-23 14:56:43 +02:00
parent 5b41ed338c
commit 358d97826d

View file

@ -30,7 +30,7 @@
<div class="collapse w-75 pl-2" id="navbarToggleResponsive">
<ul class="navbar-nav mr-auto">
<li class="nav-item <?php if($site=="list"){print_r("active");} ?>">
<li class="nav-item <?php if(($site=="list")||($site=="-1")){print_r("active");} ?>">
<a class="nav-link" href="/list"><i class="fas fa-list"></i> Liste</a>
</li>
<li class="nav-item <?php if($site=="recipes"){print_r("active");} ?>">