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_widget: Allow more than one click on dropdown.

Vector73b2a07971ec72
diff --git a/web/src/dropdown_widget.ts b/web/src/dropdown_widget.ts
index 1a48682f8f8..8340f858523 100644
--- a/web/src/dropdown_widget.ts
+++ b/web/src/dropdown_widget.ts
@@ -398,7 +398,7 @@ export class DropdownWidget {
});
// Click on item.
- $popper.one("click", ".list-item", (event) => {
+ $popper.on("click", ".list-item", (event) => {
const selected_unique_id = $(event.currentTarget).attr("data-unique-id");
assert(selected_unique_id !== undefined);
this.current_value = selected_unique_id;