Skip to content

Commit 7f447cb

Browse files
author
Юлия Перелыгина
committed
вносит правки в функцию
1 parent 81cd044 commit 7f447cb

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

js/pictures.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ const renderPictures = (pictures) => {
3636
fragment.appendChild(pictureElement);
3737
});
3838

39+
picturesContainer.innerHTML = '';
3940
picturesContainer.appendChild(fragment);
4041
};
4142

0 commit comments

Comments
 (0)