aboutsummaryrefslogtreecommitdiffstats
path: root/mod/profile.php
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-09-27 01:04:54 -0700
committerFriendika <info@friendika.com>2011-09-27 01:04:54 -0700
commit25ac93f44d92b839c5012ba8cbb7ecf221658eff (patch)
tree534884f33c8a51f3b00bb68b275ba1be3b0ddab2 /mod/profile.php
parent069a76bff4d635e65ccfd27dcf81bf3531fbfc61 (diff)
parente9638b69801cee3e74a97825f9af3749c9322c53 (diff)
downloadvolse-hubzilla-25ac93f44d92b839c5012ba8cbb7ecf221658eff.tar.gz
volse-hubzilla-25ac93f44d92b839c5012ba8cbb7ecf221658eff.tar.bz2
volse-hubzilla-25ac93f44d92b839c5012ba8cbb7ecf221658eff.zip
Merge pull request #3 from fabrixxm/master
Works on UI
Diffstat (limited to 'mod/profile.php')
-rw-r--r--mod/profile.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/mod/profile.php b/mod/profile.php
index b09251cd5..50bbdd46e 100644
--- a/mod/profile.php
+++ b/mod/profile.php
@@ -70,8 +70,9 @@ function profile_content(&$a, $update = 0) {
$a->profile['profile_uid'] = $update;
}
else {
- if($a->profile['profile_uid'] == local_user())
- $o .= '<script> $(document).ready(function() { $(\'#nav-home-link\').addClass(\'nav-selected\'); });</script>';
+ if($a->profile['profile_uid'] == local_user()) {
+ nav_set_selected('home');
+ }
}
$contact = null;