change button color on submit
This commit is contained in:
@ -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(
|
||||||
|
Reference in New Issue
Block a user