Skip to content

Commit

Permalink
[processing#1220] Add class to text file upload
Browse files Browse the repository at this point in the history
  • Loading branch information
catarak committed Oct 14, 2020
1 parent d5abae1 commit 4a76e28
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions client/modules/IDE/actions/uploader.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ export function dropzoneAcceptCallback(userId, file, done) {
done('Uploading plaintext file locally.');
file.previewElement.classList.remove('dz-error');
file.previewElement.classList.add('dz-success');
file.previewElement.classList.add('dz-processing');
file.previewElement.querySelector('.dz-upload').style.width = '100%';
})
.catch((result) => {
Expand Down

0 comments on commit 4a76e28

Please sign in to comment.