mirror of https://github.com/zulip/zulip.git
navbar: Rename "display_tab_bar" to "append_and_display_title_area".
Final name changed by tabbott to be moving in a useful direction.
This commit is contained in:
parent
3bce7bbc74
commit
d9b503278b
|
@ -52,7 +52,7 @@ exports.colorize_tab_bar = function () {
|
||||||
$("#tab_list .fa-lock").css('color', stream_light);
|
$("#tab_list .fa-lock").css('color', stream_light);
|
||||||
};
|
};
|
||||||
|
|
||||||
function display_tab_bar(tab_bar_data) {
|
function append_and_display_title_area(tab_bar_data) {
|
||||||
const tab_bar = $("#tab_bar");
|
const tab_bar = $("#tab_bar");
|
||||||
tab_bar.empty();
|
tab_bar.empty();
|
||||||
const rendered = render_tab_bar(tab_bar_data);
|
const rendered = render_tab_bar(tab_bar_data);
|
||||||
|
@ -74,7 +74,7 @@ function build_tab_bar(filter) {
|
||||||
exports.open_search_bar_and_close_narrow_description();
|
exports.open_search_bar_and_close_narrow_description();
|
||||||
} else {
|
} else {
|
||||||
const tab_bar_data = make_tab_data(filter);
|
const tab_bar_data = make_tab_data(filter);
|
||||||
display_tab_bar(tab_bar_data);
|
append_and_display_title_area(tab_bar_data);
|
||||||
|
|
||||||
$(".search_closed").on("click", function (e) {
|
$(".search_closed").on("click", function (e) {
|
||||||
exports.open_search_bar_and_close_narrow_description();
|
exports.open_search_bar_and_close_narrow_description();
|
||||||
|
|
Loading…
Reference in New Issue