forked from mirrors/easyappointments
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 '
|
||||
+ 'and email address in order to get a new password.');
|
||||
}
|
||||
$('.alert').removeClass('hidden');
|
||||
$('.alert')
|
||||
.removeClass('hidden alert-danger alert-success')
|
||||
.addClass('alert-danger');
|
||||
}, 'json');
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue