jgauffin / Griffin.Framework

Application framework for Business Applications
http://griffinframework.net
168 stars 62 forks source link

[Website] fix navbar active item class #19

Closed campersau closed 9 years ago

campersau commented 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