diff options
author | Fabio Comuni <fabrix.xm@gmail.com> | 2011-07-25 16:52:30 +0200 |
---|---|---|
committer | Fabio Comuni <fabrix.xm@gmail.com> | 2011-07-25 16:52:30 +0200 |
commit | e6444adafdd3c50913ca44d8701996e058e064b9 (patch) | |
tree | efff34780b766c63cff9c72f9c2eeef12dd533c7 /mod/community.php | |
parent | dfba0f13c8c30598f21f1480e2dbfc66c41c9aa9 (diff) | |
download | volse-hubzilla-e6444adafdd3c50913ca44d8701996e058e064b9.tar.gz volse-hubzilla-e6444adafdd3c50913ca44d8701996e058e064b9.tar.bz2 volse-hubzilla-e6444adafdd3c50913ca44d8701996e058e064b9.zip |
change nav selected css class
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"; } |