Fixed alert-danger problem (js)

This commit is contained in:
Alex Tselegidis 2015-07-08 23:16:13 +02:00
parent ec35616a27
commit 78b114e614

View file

@ -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');
});
});