diff --git a/web/src/popover_menus.js b/web/src/popover_menus.js index 133ba80dd0..3652bca647 100644 --- a/web/src/popover_menus.js +++ b/web/src/popover_menus.js @@ -910,9 +910,9 @@ export function initialize() { e.target.click(); } }); - $send_later_modal.one("click", ".send_later_date_input", (e) => { + $send_later_modal.on("click", ".send_later_custom", (e) => { flatpickr.show_flatpickr( - $(".send_later_date_input")[0], + $(".send_later_custom")[0], update_scheduled_date_from_modal, new Date(), ); diff --git a/web/templates/send_later_modal.hbs b/web/templates/send_later_modal.hbs index a0421b455a..355a8e55d9 100644 --- a/web/templates/send_later_modal.hbs +++ b/web/templates/send_later_modal.hbs @@ -26,6 +26,9 @@ {{this.text}} {{/each}} +
  • + {{t 'Custom time'}} +