Rename class-message to stream-message.

(imported from commit fe69222bdca28bab303adca8ea8448a6aac35e40)
This commit is contained in:
Tim Abbott
2012-10-10 17:29:02 -04:00
parent 413fdeb655
commit 873f8fd2bb
3 changed files with 10 additions and 10 deletions

View File

@@ -22,20 +22,20 @@ function clear_compose_box() {
function compose_button() {
clear_compose_box();
$('#sidebar a[href="#home"]').tab('show');
show_compose('class', $("#class"));
show_compose('stream', $("#class"));
}
function toggle_compose() {
if ($("#message-type-tabs li.active").find("a[href=#class-message]").length !== 0) {
if ($("#message-type-tabs li.active").find("a[href=#stream-message]").length !== 0) {
// In class tab, switch to personals.
show_compose('personal', $("#huddle_recipient"));
} else {
show_compose('class', $("#class"));
show_compose('stream', $("#class"));
}
}
function composing_class_message() {
return $("#class-message").is(":visible");
return $("#stream-message").is(":visible");
}
function composing_huddle_message() {