gonito/templates/challenge.julius
2015-09-06 14:24:49 +02:00

10 lines
305 B
Plaintext

$(document).ready(function () {
var url = window.location;
$('.navbar-left').find('.active').removeClass('active');
$('.navbar-left li a').each(function () {
if (this.href == url) {
$(this).parent().addClass('active');
}
});
});