diff --git a/web/src/scheduled_messages.js b/web/src/scheduled_messages.js index 0f7ff3e881..b6d51d6319 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 6aea2026fd..d155a34324 100644 --- a/web/templates/send_later_modal_options.hbs +++ b/web/templates/send_later_modal_options.hbs @@ -1,4 +1,4 @@ -
+