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 toggler: Update `select_tab` when changing hash."

evykassirer1f7b3d7a2d2d
diff --git a/web/src/stream_edit_toggler.ts b/web/src/stream_edit_toggler.ts
index e3a705fcbb7..304d985b2ec 100644
--- a/web/src/stream_edit_toggler.ts
+++ b/web/src/stream_edit_toggler.ts
@@ -16,6 +16,7 @@ export function setup_subscriptions_stream_hash(
): void {
const hash = hash_util.stream_edit_url(sub, right_side_tab);
browser_history.update(hash);
+ select_tab = right_side_tab;
}
export function setup_toggler(): void {