diff options
Diffstat (limited to 'mod/community.php')
-rw-r--r-- | mod/community.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/community.php b/mod/community.php index cf43598b5..f8bd88d86 100644 --- a/mod/community.php +++ b/mod/community.php @@ -25,7 +25,7 @@ function community_content(&$a, $update = 0) { $o .= '<h3>' . t('Community') . '</h3>'; if(! $update) { - $o .= '<script> $(document).ready(function() { $(\'#nav-community-link\').addClass(\'nav-selected\'); });</script>'; + $o .= set_nav_selected('nav-community-link'); $o .= '<div id="live-community"></div>' . "\r\n"; $o .= "<script> var profile_uid = -1; var netargs = '/?f='; var profile_page = " . $a->pager['page'] . "; </script>\r\n"; } |