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.

stream_edit: Fix bug where personal settings weren't being saved.

evykassirer048387da0566
diff --git a/web/src/stream_edit.ts b/web/src/stream_edit.ts
index 8fcd591bd91..50a441e60c8 100644
--- a/web/src/stream_edit.ts
+++ b/web/src/stream_edit.ts
@@ -619,10 +619,10 @@ export function initialize(): void {
},
);
- $<HTMLInputElement>("input#channels_overlay_container").on(
+ $("#channels_overlay_container").on(
"change",
- ".sub_setting_checkbox .sub_setting_control",
- function on_change(this: HTMLInputElement) {
+ ".sub_setting_checkbox input.sub_setting_control",
+ function on_change(this: HTMLInputElement, _event: JQuery.Event) {
stream_setting_changed(this);
},
);