Skip to content

Commit

Permalink
Use class instead of fading out the error message
Browse files Browse the repository at this point in the history
  • Loading branch information
alextselegidis committed May 29, 2024
1 parent 81a2f65 commit 99addd2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion assets/js/components/appointments_modal.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 99addd2

Please sign in to comment.