Skip to content
Snippets Groups Projects
Commit 4cf28bf8 authored by Olivier PEREZ's avatar Olivier PEREZ
Browse files

Nice effect for adding CSS class has-error

parent 1c8a41dc
No related branches found
No related tags found
No related merge requests found
......@@ -255,8 +255,11 @@ $(document).ready(function () {
submitDaysAvalaible();
} else {
startDateField.parent().addClass('has-error');
endDateField.parent().addClass('has-error');
setTimeout(function () {
startDateField.parent().addClass('has-error');
endDateField.parent().addClass('has-error');
}, 200);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment