fix disable button after click

This commit is contained in:
Berkeley Martinez
2015-08-26 13:17:05 -07:00
parent 2c9ed16b7a
commit cbc8ac0758

View File

@ -296,6 +296,7 @@ function showCompletion() {
var didCompleteWith = $('#completed-with').val() || null;
$('#complete-courseware-dialog').modal('show');
$('#submit-challenge').click(function(e) {
$('#submit-challenge').attr('disabled', 'true');
e.preventDefault();
$.post(
'/completed-bonfire/', {