mirror of
https://github.com/zulip/zulip.git
synced 2025-11-21 15:09:34 +00:00
popovers: Remove click handler for .flatpickr-calendar.
It exists to prevent the $(document) click handler from seeing the event and closing the compose box, but we could also just not close the compose box. Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
committed by
Tim Abbott
parent
35568ec4d6
commit
06e8d1fb16
@@ -954,6 +954,7 @@ export function initialize() {
|
||||
!$(e.target).closest("[data-tippy-root]").length &&
|
||||
!$(e.target).closest(".typeahead").length &&
|
||||
!$(e.target).closest(".enter_sends").length &&
|
||||
!$(e.target).closest(".flatpickr-calendar").length &&
|
||||
$(e.target).closest("body").length
|
||||
) {
|
||||
// Unfocus our compose area if we click out of it. Don't let exits out
|
||||
|
||||
Reference in New Issue
Block a user