Line 136: | Line 136: | ||
$(function(){ | $(function(){ | ||
$('#slick-menu a').each(function() { | $('#slick-menu a').each(function() { | ||
− | if ($(this).prop('href') | + | if ( (window.location.href).indexOf($(this).prop('href')) > -1) { |
$(this).addClass('current'); | $(this).addClass('current'); | ||
} | } |
Revision as of 09:32, 14 October 2016