mirror of
https://github.com/tim-krehan/shopping-list.git
synced 2024-11-23 22:30:41 +01:00
fix mobile nav not showing list as highlighted, if no "site" is set
This commit is contained in:
parent
5b41ed338c
commit
358d97826d
1 changed files with 1 additions and 1 deletions
|
@ -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");} ?>">
|
||||
|
|
Loading…
Reference in a new issue