mirror of https://github.com/zulip/zulip.git
flatpickr: Fix Tab key handler for 24-hour time.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
parent
2789dd4e85
commit
91f81d3962
|
@ -61,7 +61,7 @@ export function show_flatpickr(
|
|||
instance.selectedDateElem,
|
||||
instance.hourElement,
|
||||
instance.minuteElement,
|
||||
instance.amPM,
|
||||
...(user_settings.twenty_four_hour_time ? [] : [instance.amPM]),
|
||||
$(".flatpickr-confirm")[0],
|
||||
];
|
||||
const i = elems.indexOf(event.target);
|
||||
|
|
Loading…
Reference in New Issue