|
|
@ -285,8 +285,8 @@ app.cacheBuster = null;
|
|
|
|
.removeClass('active')
|
|
|
|
.removeClass('active')
|
|
|
|
.find('a')
|
|
|
|
.find('a')
|
|
|
|
.filter(function (i, x) {
|
|
|
|
.filter(function (i, x) {
|
|
|
|
return window.location.pathname === x.pathname ||
|
|
|
|
return window.location.hostname === x.hostname && (window.location.pathname === x.pathname ||
|
|
|
|
window.location.pathname.startsWith(x.pathname + '/');
|
|
|
|
window.location.pathname.startsWith(x.pathname + '/'));
|
|
|
|
})
|
|
|
|
})
|
|
|
|
.parent()
|
|
|
|
.parent()
|
|
|
|
.addClass('active');
|
|
|
|
.addClass('active');
|
|
|
|