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.

send_late: Change the class `send_later_options` to an id.

Daniil Fadeevfa112adcb7fb
diff --git a/web/src/scheduled_messages.js b/web/src/scheduled_messages.js
index 0f7ff3e8812..b6d51d63197 100644
--- a/web/src/scheduled_messages.js
+++ b/web/src/scheduled_messages.js
@@ -346,8 +346,6 @@ export function update_send_later_options() {
const now = new Date();
if (should_update_send_later_options(now)) {
const filtered_send_opts = get_filtered_send_opts(now);
- $("#send_later_modal .send_later_options").replaceWith(
- render_send_later_modal_options(filtered_send_opts),
- );
+ $("#send_later_options").replaceWith(render_send_later_modal_options(filtered_send_opts));
}
}
diff --git a/web/templates/send_later_modal_options.hbs b/web/templates/send_later_modal_options.hbs
index 6aea2026fd3..d155a34324d 100644
--- a/web/templates/send_later_modal_options.hbs
+++ b/web/templates/send_later_modal_options.hbs
@@ -1,4 +1,4 @@
-<div class="send_later_options">
+<div id="send_later_options">
<ul class="nav nav-list">
{{#if possible_send_later_today}}
{{#each possible_send_later_today}}