aboutsummaryrefslogtreecommitdiffstats
path: root/mod/message.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/message.php')
-rw-r--r--mod/message.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/message.php b/mod/message.php
index ad598eb7d..ff3db06e2 100644
--- a/mod/message.php
+++ b/mod/message.php
@@ -110,7 +110,7 @@ function message_post(&$a) {
function message_content(&$a) {
$o = '';
- $o .= '<script> $(document).ready(function() { $(\'#nav-messages-link\').addClass(\'nav-selected\'); });</script>';
+ $o .= set_nav_selected('nav-messages-link');
if(! local_user()) {
notice( t('Permission denied.') . EOL);