inbox: Fix spelling mistakes.

Found a good spell checker, hopefully no more of those.
This commit is contained in:
Aman Agrawal 2023-10-08 09:43:54 +00:00 committed by Tim Abbott
parent e9c86dc524
commit 80a7e995af
2 changed files with 4 additions and 4 deletions

View File

@ -495,11 +495,11 @@ function reset_data() {
const has_visible_unreads = has_dms_post_filter || has_topics_post_filter; const has_visible_unreads = has_dms_post_filter || has_topics_post_filter;
topics_dict = get_sorted_stream_topic_dict(); topics_dict = get_sorted_stream_topic_dict();
const is_dms_collaped = collapsed_containers.has("inbox-dm-header"); const is_dms_collapsed = collapsed_containers.has("inbox-dm-header");
return { return {
unread_dms_count, unread_dms_count,
is_dms_collaped, is_dms_collapsed,
has_dms_post_filter, has_dms_post_filter,
has_visible_unreads, has_visible_unreads,
}; };
@ -727,7 +727,7 @@ function set_list_focus(input_key) {
col_focus = COLUMNS.COLLAPSE_BUTTON; col_focus = COLUMNS.COLLAPSE_BUTTON;
} else { } else {
// up / down arrow // up / down arrow
// For `inbox-row`, we focus entier row for COLUMNS.RECIPIENT. // For `inbox-row`, we focus entire row for COLUMNS.RECIPIENT.
$row_to_focus.trigger("focus"); $row_to_focus.trigger("focus");
return; return;
} }

View File

@ -1,7 +1,7 @@
<div id="inbox-dm-header" tabindex="0" class="inbox-header {{#unless has_dms_post_filter}}hidden_by_filters{{/unless}}"> <div id="inbox-dm-header" tabindex="0" class="inbox-header {{#unless has_dms_post_filter}}hidden_by_filters{{/unless}}">
<div class="inbox-focus-border"> <div class="inbox-focus-border">
<div class="inbox-left-part-wrapper"> <div class="inbox-left-part-wrapper">
<div class="collapsible-button"><i class="zulip-icon zulip-icon-arrow-down toggle-inbox-header-icon {{#if is_dms_collaped}}icon-collapsed-state{{/if}}"></i></div> <div class="collapsible-button"><i class="zulip-icon zulip-icon-arrow-down toggle-inbox-header-icon {{#if is_dms_collapsed}}icon-collapsed-state{{/if}}"></i></div>
<div class="inbox-left-part"> <div class="inbox-left-part">
<div tabindex="0" class="inbox-header-name"> <div tabindex="0" class="inbox-header-name">
<div class="inbox-header-name-focus-border"> <div class="inbox-header-name-focus-border">