From 15148c5de3d6290012e6e79a3b35feb90649c8ae Mon Sep 17 00:00:00 2001 From: Paulo Viadanna Date: Thu, 26 Sep 2024 07:42:26 -0300 Subject: [PATCH] chore: fix quality --- .../xblock/static/js/src/lms/oa_response.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/openassessment/xblock/static/js/src/lms/oa_response.js b/openassessment/xblock/static/js/src/lms/oa_response.js index 13113b883c..fa32d66bf4 100644 --- a/openassessment/xblock/static/js/src/lms/oa_response.js +++ b/openassessment/xblock/static/js/src/lms/oa_response.js @@ -165,17 +165,17 @@ export class ResponseView { // Override default form submission eventObject.preventDefault(); $('.submission__answer__display__file', view.element).removeClass('is--hidden'); - uploadButton.prop("disabled", true); - spinner.removeClass("hidden"); + uploadButton.prop('disabled', true); + spinner.removeClass('hidden'); if (view.hasAllUploadFiles()) { const promise = view.uploadFiles(); promise.then(() => { - uploadButton.prop("disabled", false); - spinner.addClass("hidden"); + uploadButton.prop('disabled', false); + spinner.addClass('hidden'); }); } else { - uploadButton.prop("disabled", false); - spinner.addClass("hidden"); + uploadButton.prop('disabled', false); + spinner.addClass('hidden'); } }, );