Closed campersau closed 9 years ago
only set active class if current url matches the navbar item link
Since there are only two links in the navbar which require this logic I just added ifs. A more generic approche would be something like this: http://stackoverflow.com/a/22408778
only set active class if current url matches the navbar item link
Since there are only two links in the navbar which require this logic I just added ifs. A more generic approche would be something like this: http://stackoverflow.com/a/22408778