Skip to content

Commit

Permalink
Remove anon option in sidebar
Browse files Browse the repository at this point in the history
  • Loading branch information
Dan Kang committed Nov 30, 2011
1 parent 29173fd commit d3eba0b
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 12 deletions.
4 changes: 0 additions & 4 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -83,10 +83,6 @@
</table>
</div>
<div id="prefs">
<div id="anon-option">
<a target="_blank" href="/anon">Prefer to be anonymous?</a>
<br />
</div>
<input id="system-link" type="checkbox" /> Show system messages
<br />
<input id="mute-link" type="checkbox" /> Mute sounds
Expand Down
8 changes: 0 additions & 8 deletions js/client.js
Original file line number Diff line number Diff line change
Expand Up @@ -772,9 +772,6 @@ function showInSidebar(type) {
roomList.show();
} else if (type === 'users') {
selfList.show();
if (CONFIG.room !== 'anon') {
$('#anon-option').show();
}
prefs.show();
userList.show();
}
Expand Down Expand Up @@ -881,11 +878,6 @@ $(function() {
supplied: "mp3",
muted: muted
});

// Remove anon option if in anon room
if (CONFIG.room === 'anon') {
$('#anon-option').hide();
}
});

/**
Expand Down

0 comments on commit d3eba0b

Please sign in to comment.