-
Notifications
You must be signed in to change notification settings - Fork 1
Открывается и закрывается #8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Открывается и закрывается #8
Conversation
js/rendering_full_size_photo.js
Outdated
| closeBigPhoto(); | ||
| }; | ||
|
|
||
| function openBigPhoto(photo) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ожидаются стрелочные функции
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
исправил на стрелочные, отключил линтер для этих строк
js/insert-comment.js
Outdated
| @@ -0,0 +1,32 @@ | |||
| const commentTemplate = document.querySelector('.social__comment'); | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Этот файл убираем?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
исправил
js/post.js
Outdated
| const commentsLoader = bigPicture.querySelector('.comments-loader'); | ||
| const socialCommentCount = bigPicture.querySelector('.social__comment-count'); | ||
| const bigPictureImg = bigPicture.querySelector('.big-picture__img img'); | ||
| const bigPictureLikes = bigPicture.querySelector('.likes-count'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
likesCount?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
исправил
🎓 Открывается и закрывается