mirror of
https://github.com/alextselegidis/easyappointments.git
synced 2024-11-10 01:52:22 +03:00
Use class instead of fading out the error message
This commit is contained in:
parent
81a2f65e87
commit
99addd2efd
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue