Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
stream_edit: Fix bug in subscribing/unsubscribing from stream settings.
sahil83948eba187bb0e
diff --git a/static/js/stream_edit.js b/static/js/stream_edit.jsindex d3648be0ebf..e2227d8b983 100644--- a/static/js/stream_edit.js+++ b/static/js/stream_edit.js@@ -709,7 +709,7 @@ exports.initialize = function () {// This handler isn't part of the normal edit interface; it's the convenient// checkmark in the subscriber list.- $("#subscriptions_table").on("click", ".check.sub_unsub_button", (e) => {+ $("#subscriptions_table").on("click", ".sub_unsub_button", (e) => {const sub = get_sub_for_target(e.target);// Makes sure we take the correct stream_row.const stream_row = $("#subscriptions_table div.stream-row[data-stream-id='" + sub.stream_id + "']");