Index: trunk/extensions/SocialProfile/UserProfile/SpecialUploadAvatar.php |
— | — | @@ -49,6 +49,8 @@ |
50 | 50 | $wgOut->setHTMLTitle( wfMsg( 'pagetitle', wfMsg('user-profile-picture-title') ) ); |
51 | 51 | |
52 | 52 | $wgOut->addStyle( '../..' . $wgUserProfileScripts . '/UserProfile.css' ); |
| 53 | + // Nasty hack since UserProfile.css is loaded before skin's main.css |
| 54 | + $wgOut->addHTML( '<style>.profile-tab a:visited { color: #FFFFFF; } .profile-tab-on a:visited { color: #FFFFFF; }</style>' ); |
53 | 55 | $this->initAvatar($wgRequest); |
54 | 56 | $this->executeAvatar(); |
55 | 57 | } |