mirror of
https://github.com/alextselegidis/easyappointments.git
synced 2024-11-26 09:53:34 +03:00
Fixed alert-danger problem (js)
This commit is contained in:
parent
ec35616a27
commit
78b114e614
1 changed files with 3 additions and 1 deletions
|
@ -108,7 +108,9 @@
|
||||||
$('.alert').text('The operation failed! Please enter a valid username '
|
$('.alert').text('The operation failed! Please enter a valid username '
|
||||||
+ 'and email address in order to get a new password.');
|
+ 'and email address in order to get a new password.');
|
||||||
}
|
}
|
||||||
$('.alert').removeClass('hidden');
|
$('.alert')
|
||||||
|
.removeClass('hidden alert-danger alert-success')
|
||||||
|
.addClass('alert-danger');
|
||||||
}, 'json');
|
}, 'json');
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue