Fix typos caught by typos.

https://github.com/crate-ci/typos

Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
Anders Kaseorg
2023-01-02 11:50:23 -08:00
committed by Tim Abbott
parent 730b93c338
commit bd884c88ed
125 changed files with 109 additions and 109 deletions

View File

@@ -15,7 +15,7 @@ function get_new_heights() {
const res = {};
const viewport_height = message_viewport.height();
const top_navbar_height = $("#top_navbar").safeOuterHeight(true);
const right_sidebar_shorcuts_height = $(".right-sidebar-shortcuts").safeOuterHeight(true) || 0;
const right_sidebar_shortcuts_height = $(".right-sidebar-shortcuts").safeOuterHeight(true) || 0;
res.bottom_whitespace_height = viewport_height * 0.4;
@@ -39,7 +39,7 @@ function get_new_heights() {
Number.parseInt($("#right-sidebar").css("marginTop"), 10) -
$("#userlist-header").safeOuterHeight(true) -
$("#user_search_section").safeOuterHeight(true) -
right_sidebar_shorcuts_height;
right_sidebar_shortcuts_height;
res.buddy_list_wrapper_max_height = Math.max(80, usable_height);