mirror of
https://github.com/zulip/zulip.git
synced 2025-11-07 23:43:43 +00:00
dom: Remove outer subscriptions div.
This commit is contained in:
@@ -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" would
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user