Fix re-submitting a challenge submission (#1559)

* Fixes an issue preventing submitting a challenge answer in challenge preview window
This commit is contained in:
Kevin Chung
2020-07-21 17:59:07 -04:00
committed by GitHub
parent 04280eda32
commit 5cbab768db
3 changed files with 4 additions and 4 deletions

View File

@@ -120,8 +120,8 @@ function renderSubmissionResponse(response, cb) {
}
setTimeout(function() {
$(".alert").slideUp();
$("#submit-key").removeClass("disabled-button");
$("#submit-key").prop("disabled", false);
$("#challenge-submit").removeClass("disabled-button");
$("#challenge-submit").prop("disabled", false);
}, 3000);
if (cb) {

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long