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.

dropdown_list_widget: Rename dropdown_focus_events.

Sahil Batrafc251fd464a6
diff --git a/web/src/dropdown_list_widget.js b/web/src/dropdown_list_widget.js
index 4e1c0f0f69c..34a0b3e4078 100644
--- a/web/src/dropdown_list_widget.js
+++ b/web/src/dropdown_list_widget.js
@@ -141,7 +141,7 @@ export class DropdownListWidget {
});
}
- dropdown_focus_events() {
+ dropdown_keyboard_events() {
const $search_input = $(
`#${CSS.escape(this.container_id)} .dropdown-search > input[type=text]`,
);
@@ -235,7 +235,7 @@ export class DropdownListWidget {
}
});
- this.dropdown_focus_events();
+ this.dropdown_keyboard_events();
this.render(this.initial_value);
this.register_event_handlers();
@@ -456,7 +456,7 @@ export class MultiSelectDropdownListWidget extends DropdownListWidget {
tippy_instance.destroy();
}
- dropdown_focus_events() {
+ dropdown_keyboard_events() {
// Main keydown event handler which transfers the focus from one child element
// to another.