From 99addd2efd2b5f260b26b41f5a10829a1d9e99bb Mon Sep 17 00:00:00 2001 From: Alex Tselegidis Date: Wed, 29 May 2024 23:15:07 +0200 Subject: [PATCH] Use class instead of fading out the error message --- assets/js/components/appointments_modal.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/js/components/appointments_modal.js b/assets/js/components/appointments_modal.js index 20eadd544b..7470cd4fd5 100755 --- a/assets/js/components/appointments_modal.js +++ b/assets/js/components/appointments_modal.js @@ -444,7 +444,7 @@ App.Components.AppointmentsModal = (function () { function resetModal() { // Empty form fields. $appointmentsModal.find('input, textarea').val(''); - $appointmentsModal.find('.modal-message').fadeOut(); + $appointmentsModal.find('.modal-message').addClass('.d-none'); const defaultStatusValue = $appointmentStatus.find('option:first').val(); $appointmentStatus.val(defaultStatusValue);