]> git.mxchange.org Git - friendica.git/blobdiff - mod/contacts.php
ping returns notices and infos also to unlogged users
[friendica.git] / mod / contacts.php
index 6dda546d3c1fe1a1841a149d9a1de0e928cf9625..ea429d39fe15384b90f445f129bd84ba35393b0e 100644 (file)
@@ -117,7 +117,7 @@ function contacts_content(&$a) {
 
        $sort_type = 0;
        $o = '';
-       $o .= '<script> $(document).ready(function() { $(\'#nav-contacts-link\').addClass(\'nav-selected\'); });</script>';
+       nav_set_selected('contacts');
 
        $_SESSION['return_url'] = $a->get_baseurl() . '/' . $a->cmd;