]> git.mxchange.org Git - friendica.git/blobdiff - mod/directory.php
common_tabs in notifications.php
[friendica.git] / mod / directory.php
index 0c60f04bf4be14cb8ff4a2b29363047813405924..93abcd5de845dd661fd9afef49649c438ed44644 100644 (file)
@@ -22,7 +22,7 @@ function directory_content(&$a) {
        }
 
        $o = '';
-       $o .= '<script> $(document).ready(function() { $(\'#nav-directory-link\').addClass(\'nav-selected\'); });</script>';
+       nav_set_selected('directory');
        if(x($_SESSION,'theme'))
                unset($_SESSION['theme']);