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:
YashRE42 2020-05-16 22:52:47 +05:30 committed by Tim Abbott
parent 3bce7bbc74
commit d9b503278b
1 changed files with 2 additions and 2 deletions

View File

@ -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();