mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-05-08 23:15:55 +02:00
closes #6784
This commit is contained in:
committed by
GitHub
parent
08c45c3743
commit
df4f5f6f27
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user