mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-11 16:35:47 +01:00
closes #304
This commit is contained in:
@@ -275,7 +275,7 @@ var socket,
|
||||
if (active) {
|
||||
jQuery('#main-nav li a').each(function() {
|
||||
var href = this.getAttribute('href');
|
||||
if (active.match(/^users/))
|
||||
if (active == "sort-posts" || active == "sort-reputation" || active == "search" || active== "latest")
|
||||
active = 'users';
|
||||
if (href && href.match(active)) {
|
||||
jQuery(this.parentNode).addClass('active');
|
||||
|
||||
Reference in New Issue
Block a user