don't set tab to selected if visiting
This commit is contained in:
parent
65a420b227
commit
971b7d7519
1 changed files with 2 additions and 1 deletions
|
@ -89,6 +89,7 @@ function profile_content(&$a, $update = false) {
|
|||
$a->profile['profile_uid'] = $_SESSION['profile_uid'];
|
||||
}
|
||||
else {
|
||||
if($a->profile['uid'] == get_uid())
|
||||
$o .= '<script> $(document).ready(function() { $(\'#nav-home-link\').addClass(\'nav-selected\'); });</script>';
|
||||
// set the uid so we can pick it up during update
|
||||
$_SESSION['profile_uid'] = $a->profile['uid'];
|
||||
|
|
Loading…
Reference in a new issue