Difference between revisions of "Template:Team:TU Darmstadt/MainMenu"

Line 37: Line 37:
 
   </div>
 
   </div>
 
</div>
 
</div>
 +
 
<script>
 
<script>
 
$(function(){
 
$(function(){
   $('a').each(function() {
+
   $('.navbar a').each(function() {
 
     if ($(this).prop('href') == window.location.href) {
 
     if ($(this).prop('href') == window.location.href) {
 
       $(this).addClass('current');
 
       $(this).addClass('current');

Revision as of 13:11, 12 October 2016