mirror of
https://github.com/zulip/zulip.git
synced 2025-11-10 00:46:03 +00:00
Rename zephyr-type-tabs to message-type-tabs.
(imported from commit 623d226209bc6cbe20721be08a271e52185ea65e)
This commit is contained in:
@@ -3,7 +3,7 @@ var status_classes = 'alert-error alert-success alert-info';
|
||||
function show_compose(tabname, focus_area) {
|
||||
$('#zephyr_compose').css({visibility: "visible"});
|
||||
$('.zephyr_comp').slideDown(100);
|
||||
$('#zephyr-type-tabs a[href="#' + tabname + '-message"]').tab('show');
|
||||
$('#message-type-tabs a[href="#' + tabname + '-message"]').tab('show');
|
||||
focus_area.focus();
|
||||
focus_area.select();
|
||||
}
|
||||
@@ -25,7 +25,7 @@ function compose_button() {
|
||||
}
|
||||
|
||||
function toggle_compose() {
|
||||
if ($("#zephyr-type-tabs li.active").find("a[href=#class-message]").length !== 0) {
|
||||
if ($("#message-type-tabs li.active").find("a[href=#class-message]").length !== 0) {
|
||||
// In class tab, switch to personals.
|
||||
show_compose('personal', $("#huddle_recipient"));
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user