We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 65f9dad + af16418 commit 54256c8Copy full SHA for 54256c8
runner/src/server/plugins/engine/views/components/clientsidefileuploadfield.html
@@ -407,7 +407,7 @@ <h2 class="govuk-error-summary__title" id="error-summary-title">
407
const updateProgressBarContent = (file, text) => {
408
let tableFileUploadStatusIndicatorArea = file.previewElement.querySelector('.dz-progress-bar');
409
if (!tableFileUploadStatusIndicatorArea) {
410
- tableFileUploadStatusIndicatorArea = document.querySelector('[data-dz-uploadprogress]');
+ tableFileUploadStatusIndicatorArea = file.previewElement.querySelector('[data-dz-uploadprogress]');
411
if (tableFileUploadStatusIndicatorArea !== null) {
412
tableFileUploadStatusIndicatorArea.textContent = text;
413
}
0 commit comments