]> git.mxchange.org Git - friendica.git/blobdiff - mod/profile.php
Merge branch 'newui' of github.com:fabrixxm/friendika into newui
[friendica.git] / mod / profile.php
index 2dd5df75855079153c9bb47e5b22736baa50b510..66fa175543aca7fd75b4e869078ac80742e6b9fc 100644 (file)
@@ -70,8 +70,9 @@ function profile_content(&$a, $update = 0) {
                $a->profile['profile_uid'] = $update;
        }
        else {
-               if($a->profile['profile_uid'] == local_user())          
-                       $o .= '<script> $(document).ready(function() { $(\'#nav-home-link\').addClass(\'nav-selected\'); });</script>';
+               if($a->profile['profile_uid'] == local_user()) {
+                       nav_set_selected('home');
+               }
        }
 
        $contact = null;