diff options
Diffstat (limited to 'mod/directory.php')
-rw-r--r-- | mod/directory.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/directory.php b/mod/directory.php index 0c60f04bf..93abcd5de 100644 --- a/mod/directory.php +++ b/mod/directory.php @@ -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']); |