aboutsummaryrefslogtreecommitdiffstats
path: root/mod/profile.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/profile.php')
-rw-r--r--mod/profile.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/mod/profile.php b/mod/profile.php
index c42291d96..6923b0923 100644
--- a/mod/profile.php
+++ b/mod/profile.php
@@ -89,6 +89,7 @@ function profile_content(&$a, $update = false) {
$a->profile['profile_uid'] = $_SESSION['profile_uid'];
}
else {
+ $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'];
}