Remove dead code. We keep the message type and client name in JS instead of the DOM now

(imported from commit 79834160c53a5f7d99918d629fde311aa99fe280)
This commit is contained in:
Zev Benjamin
2012-11-26 13:21:17 -05:00
parent 507a730f77
commit 85e2bf9030
2 changed files with 0 additions and 4 deletions

View File

@@ -10,13 +10,11 @@ function show(tabname, focus_area) {
if (tabname === "stream") {
$('#private-message').hide();
$('#stream-message').show();
$('#new_message_type').val('stream');
$("#stream_toggle").addClass("active");
$("#private_message_toggle").removeClass("active");
} else {
$('#private-message').show();
$('#stream-message').hide();
$('#new_message_type').val('private');
$("#stream_toggle").removeClass("active");
$("#private_message_toggle").addClass("active");
}