From 2e0f08ae508328c3b63a6f9f2d2d2264785dfeba Mon Sep 17 00:00:00 2001 From: Sushmitha Sekar Date: Mon, 12 Aug 2024 16:33:44 +0200 Subject: [PATCH] Reorder function calls --- src/messages/DatePicker/flatpickr-plugins/customElements.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/messages/DatePicker/flatpickr-plugins/customElements.ts b/src/messages/DatePicker/flatpickr-plugins/customElements.ts index 27ad749..4c84dd5 100644 --- a/src/messages/DatePicker/flatpickr-plugins/customElements.ts +++ b/src/messages/DatePicker/flatpickr-plugins/customElements.ts @@ -133,11 +133,11 @@ function customElements(pluginConfig: Config): Plugin { upsertTimeArrows, buildTimeArrows, setTimeAlly, + setMonthSelectAlly, + setYearSelectAlly, () => { fp?.loadedPlugins?.push("customElements"); }, - setMonthSelectAlly, - setYearSelectAlly, ], onDayCreate: [ (_dObj, _dStr, _fp, dayElem) => {