Skip to content

Commit

Permalink
Исправляет ошибку в тесте
Browse files Browse the repository at this point in the history
  • Loading branch information
margarita0206 committed Aug 7, 2024
1 parent 3f4400e commit 7a23e34
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/load-pictures.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ const loadingPicture = () => {

if (matches) {
imgUploadPreview.src = URL.createObjectURL(file);
imgUploadPreview.computedStyleMap.width = '100%';
imgUploadPreview.style.width = '100%';
effectsPreviews.forEach((preview) => {
preview.style.backgroundImage = `url('${imgUploadPreview.src}')`;
});
Expand Down

0 comments on commit 7a23e34

Please sign in to comment.