]> git.mxchange.org Git - friendica.git/blobdiff - mod/community.php
Merge branch 'newui' of github.com:fabrixxm/friendika into newui
[friendica.git] / mod / community.php
index cf43598b518bdf5a5cd5a64cc7ed878c1b36794b..cb255029f0d47e84d64ae9e825c731cdf1982362 100644 (file)
@@ -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>';
+               nav_set_selected('community');
                $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";
        }