Skip to content

Commit

Permalink
Merge pull request #3136 from martijnb92/patch-2
Browse files Browse the repository at this point in the history
[4.1] Active class for navbar
  • Loading branch information
tabacitu authored Aug 25, 2020
2 parents 3839f42 + 57847b4 commit 3cbb598
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/resources/views/base/inc/sidebar.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
<script>
// Set active state on menu element
var full_url = "{{ Request::fullUrl() }}";
var $navLinks = $(".sidebar-nav li a");
var $navLinks = $(".sidebar-nav li a, header li a");
// First look for an exact match including the search string
var $curentPageLink = $navLinks.filter(
Expand Down

0 comments on commit 3cbb598

Please # to comment.