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 settings: Open row with function call instead of simulated click.

evykassirer5020c48e172f
diff --git a/web/src/stream_settings_ui.js b/web/src/stream_settings_ui.js
index 378fa7baf0d..e175ad6955b 100644
--- a/web/src/stream_settings_ui.js
+++ b/web/src/stream_settings_ui.js
@@ -688,12 +688,7 @@ export function switch_to_stream_row(stream_id) {
scroll_util.scroll_element_into_container($stream_row, $container);
- // It's dubious that we need this timeout any more.
- setTimeout(() => {
- if (stream_id === stream_settings_components.get_active_data().id) {
- $stream_row.trigger("click");
- }
- }, 100);
+ stream_edit.open_edit_panel_for_row($stream_row);
}
function show_right_section() {