Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
dom: Remove outer subscriptions div.
Steve Howellc6d9029dfc35
diff --git a/static/js/stream_settings_ui.js b/static/js/stream_settings_ui.jsindex 7b3a3ea4f72..4d64fd98c2e 100644--- a/static/js/stream_settings_ui.js+++ b/static/js/stream_settings_ui.js@@ -256,7 +256,7 @@ export function add_sub_to_table(sub) {}const settings_html = render_stream_settings(sub);- ui.get_content_element($(".subscriptions .settings")).append($(settings_html));+ ui.get_content_element($("#manage_streams_container .settings")).append($(settings_html));if (stream_create.get_name() === sub.name) {// This `stream_create.get_name()` check tells us whether the@@ -1086,7 +1086,7 @@ export function initialize() {open_create_stream();});- $(".subscriptions").on("click", "#stream_creation_form [data-dismiss]", (e) => {+ $("#manage_streams_container").on("click", "#stream_creation_form [data-dismiss]", (e) => {e.preventDefault();// we want to make sure that the click is not just a simulated// click; this fixes an issue where hitting "Enter" woulddiff --git a/templates/zerver/app/index.html b/templates/zerver/app/index.htmlindex 32b2494dc9e..45a0bd35356 100644--- a/templates/zerver/app/index.html+++ b/templates/zerver/app/index.html@@ -75,10 +75,7 @@</div></div>-<div class="subscriptions">- <div id="manage_streams_container">- </div>-</div>+<div id="manage_streams_container"></div><div id="drafts_table"></div><div id="settings_overlay_container" class="overlay" data-overlay="settings" aria-hidden="true"></div>