Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

minor: Correct comments.

Aman Agrawal79b00d3c2a5d
diff --git a/web/src/dropdown_widget.js b/web/src/dropdown_widget.js
index ea47b237816..9e46088b535 100644
--- a/web/src/dropdown_widget.js
+++ b/web/src/dropdown_widget.js
@@ -16,7 +16,7 @@ export function setup(tippy_props, get_options, item_click_callback, dropdown_pr
// Define all possible `dropdown_props` here so that they are easy to track.
const on_show_callback = dropdown_props.on_show_callback || noop;
const on_exit_with_escape_callback = dropdown_props.on_exit_with_escape_callback || noop;
- // Used focus the `target` after dropdown is closed. This is important since the dropdown is
+ // Used to focus the `target` after dropdown is closed. This is important since the dropdown is
// appended to `body` and hence `body` is focused when the dropdown is closed, which makes
// it hard for the user to get focus back to the `target`.
const focus_target_on_hidden = dropdown_props.focus_target_on_hidden || true;
diff --git a/web/styles/zulip.css b/web/styles/zulip.css
index a79944a6f73..a9f8aa2886b 100644
--- a/web/styles/zulip.css
+++ b/web/styles/zulip.css
@@ -3078,7 +3078,7 @@ select.invite-as {
}
.dropdown-list-wrapper {
- /* Sync with `height` in dropdown_widget. */
+ /* Sync with `max-height` in dropdown_widget. */
max-height: 200px;
min-width: 200px;