Add link to main website at top of client UI

This commit is contained in:
Cathy J. Fitzpatrick
2013-03-22 03:44:35 -06:00
parent 11739c77a7
commit 2ff0176b0e

View File

@@ -2515,7 +2515,7 @@ function updateMe() {
} else {
$('#userbar').html(notifybutton + '<i class="icon-user" style="color:#999"></i> ' + sanitize(me.name) + mutebutton + ' <button onclick="return rooms[\'lobby\'].formRename()" style="font-size:9pt">Choose name</button>');
}
$('#userbar').prepend('<small>[<a href="http://pokemonshowdown.com/rules" target="_blank">Rules</a>] [<a href="http://www.smogon.com/forums/showthread.php?t=3469932" target="_blank" onclick="_gaq.push([\'_trackEvent\', \'Report bug link\', Config.serverid]); return true;">Report bug</a>]</small> ');
$('#userbar').prepend('<small>[<a href="http://pokemonshowdown.com/" target="_blank">Website</a>] [<a href="http://pokemonshowdown.com/rules" target="_blank">Rules</a>] [<a href="http://www.smogon.com/forums/showthread.php?t=3469932" target="_blank" onclick="_gaq.push([\'_trackEvent\', \'Report bug link\', Config.serverid]); return true;">Report bug</a>]</small> ');
if (rooms.lobby) {
rooms.lobby.updateMe();
rooms.lobby.debounceUpdate();