Skip to content

Commit

Permalink
change button color on submit
Browse files Browse the repository at this point in the history
  • Loading branch information
Berkeley Martinez authored and Berkeley Martinez committed Aug 26, 2015
1 parent 51f99b0 commit ee45a14
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion public/js/lib/coursewares/commonFrameWork_0.0.6.js
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,8 @@ function showCompletion() {

$('#submit-challenge')
.attr('disabled', 'true')
.addClass('disabled');
.removeClass('btn-primary')
.addClass('btn-warning disabled');

e.preventDefault();
$.post(
Expand Down

0 comments on commit ee45a14

Please sign in to comment.