mirror of https://github.com/zulip/zulip.git
send_late: Change the class `send_later_options` to an id.
It will be easier to locate the send later options in different code paths with the id.
This commit is contained in:
parent
e64e5f2413
commit
fa112adcb7
|
@ -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));
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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}}
|
||||
|
|
Loading…
Reference in New Issue