This commit is contained in:
Barış Soner Uşaklı
2018-09-24 12:41:04 -04:00
committed by GitHub
parent 08c45c3743
commit df4f5f6f27

View File

@@ -226,7 +226,7 @@ app.cacheBuster = null;
};
function highlightNavigationLink() {
var path = window.location.pathname;
var path = window.location.pathname + window.location.search;
$('#main-nav li').removeClass('active');
if (path) {
$('#main-nav li').removeClass('active').find('a[href="' + path + '"]').parent().addClass('active');