Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
subs: Set focus on stream name box when creating a new stream.
Aman Agrawal8799046f95f3
diff --git a/static/js/subs.js b/static/js/subs.jsindex fe6f58ac33d..42b82dbe687 100644--- a/static/js/subs.js+++ b/static/js/subs.js@@ -747,7 +747,11 @@ export function launch(section) {change_state(section);});if (!get_active_data().id) {- $("#search_stream_name").trigger("focus");+ if (section === "new") {+ $("#create_stream_name").trigger("focus");+ } else {+ $("#search_stream_name").trigger("focus");+ }}}