change button color on submit

This commit is contained in:
Berkeley Martinez
2015-08-26 13:52:05 -07:00
parent 51f99b0c30
commit ee45a147ec

View File

@ -276,7 +276,8 @@ function showCompletion() {
$('#submit-challenge') $('#submit-challenge')
.attr('disabled', 'true') .attr('disabled', 'true')
.addClass('disabled'); .removeClass('btn-primary')
.addClass('btn-warning disabled');
e.preventDefault(); e.preventDefault();
$.post( $.post(