This commit is contained in:
Baris Usakli
2013-09-18 16:01:54 -04:00
parent 28704a6164
commit 24e4be77d8
21 changed files with 89 additions and 89 deletions

View File

@@ -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');