{"action":"created","comment":{"url":"https://api.github.com/repos/htmlacademy-javascript/474591-keksobooking/pulls/comments/184880657","pull_request_review_id":116164201,"id":184880657,"diff_hunk":"@@ -140,11 +160,39 @@ var generateCard = function (place) {\n   card.querySelector('.popup__avatar').src = place.author.avatar\n \n   document.querySelector('.map').insertBefore(card, filtersContainer)\n+\n+  return card\n }\n \n-// Execution\n+// Event listeners\n \n-map.classList.remove('map--faded')\n-generateSimilarListings()\n-renderPins()\n-generateCard(similarListings[0])\n+var activateForm = function () {\n+  map.classList.remove('map--faded')\n+  adForm.classList.remove('ad-form--disabled')\n+  adFormFieldset.forEach(function (element) {\n+    element.removeAttribute('disabled')\n+  })\n+}\n+\n+var defineAddressUnactivated = function () {\n+  var xInitial = parseInt(mainPin.style.left, 10)","path":"js/map.js","position":106,"original_position":106,"commit_id":"9222f1fd20e02d25fb96d868f8fb580e2d7feacf","original_commit_id":"9222f1fd20e02d25fb96d868f8fb580e2d7feacf","user":{"login":"rkhaslarov","id":24644463,"avatar_url":"https://avatars2.githubusercontent.com/u/24644463?v=4","gravatar_id":"","url":"https://api.github.com/users/rkhaslarov","html_url":"https://github.com/rkhaslarov","followers_url":"https://api.github.com/users/rkhaslarov/followers","following_url":"https://api.github.com/users/rkhaslarov/following{/other_user}","gists_url":"https://api.github.com/users/rkhaslarov/gists{/gist_id}","starred_url":"https://api.github.com/users/rkhaslarov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rkhaslarov/subscriptions","organizations_url":"https://api.github.com/users/rkhaslarov/orgs","repos_url":"https://api.github.com/users/rkhaslarov/repos","events_url":"https://api.github.com/users/rkhaslarov/events{/privacy}","received_events_url":"https://api.github.com/users/rkhaslarov/received_events","type":"User","site_admin":false},"body":"Better to return value and then assign it to fieldsetAddress.value","created_at":"2018-04-29T12:03:56Z","updated_at":"2018-04-29T12:04:52Z","html_url":"https://github.com/htmlacademy-javascript/474591-keksobooking/pull/3#discussion_r184880657","pull_request_url":"https://api.github.com/repos/htmlacademy-javascript/474591-keksobooking/pulls/3","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/htmlacademy-javascript/474591-keksobooking/pulls/comments/184880657"},"html":{"href":"https://github.com/htmlacademy-javascript/474591-keksobooking/pull/3#discussion_r184880657"},"pull_request":{"href":"https://api.github.com/repos/htmlacademy-javascript/474591-keksobooking/pulls/3"}}},"pull_request":{"url":"https://api.github.com/repos/htmlacademy-javascript/474591-keksobooking/pulls/3","id":184778276,"html_url":"https://github.com/htmlacademy-javascript/474591-keksobooking/pull/3","diff_url":"https://github.com/htmlacademy-javascript/474591-keksobooking/pull/3.diff","patch_url":"https://github.com/htmlacademy-javascript/474591-keksobooking/pull/3.patch","issue_url":"https://api.github.com/repos/htmlacademy-javascript/474591-keksobooking/issues/3","number":3,"state":"open","locked":false,"title":"Личный проект: подробности","user":{"login":"heyiamvika","id":16744113,"avatar_url":"https://avatars2.githubusercontent.com/u/16744113?v=4","gravatar_id":"","url":"https://api.github.com/users/heyiamvika","html_url":"https://github.com/heyiamvika","followers_url":"https://api.github.com/users/heyiamvika/followers","following_url":"https://api.github.com/users/heyiamvika/following{/other_user}","gists_url":"https://api.github.com/users/heyiamvika/gists{/gist_id}","starred_url":"https://api.github.com/users/heyiamvika/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/heyiamvika/subscriptions","organizations_url":"https://api.github.com/users/heyiamvika/orgs","repos_url":"https://api.github.com/users/heyiamvika/repos","events_url":"https://api.github.com/users/heyiamvika/events{/privacy}","received_events_url":"https://api.github.com/users/heyiamvika/received_events","type":"User","site_admin":false},"body":"\n\n---\n:mortar_board: [Личный проект: подробности](https://up.htmlacademy.ru/javascript/13/user/474591/tasks/15)\n\n:boom: https://htmlacademy-javascript.github.io/474591-keksobooking/3/","created_at":"2018-04-28T10:25:07Z","updated_at":"2018-04-29T12:04:52Z","closed_at":null,"merged_at":null,"merge_commit_sha":"8a4d248a57a1b7d5b7bdac5426b29c2683124e7a","assignee":{"login":"rkhaslarov","id":24644463,"avatar_url":"https://avatars2.githubusercontent.com/u/24644463?v=4","gravatar_id":"","url":"https://api.github.com/users/rkhaslarov","html_url":"https://github.com/rkhaslarov","followers_url":"https://api.github.com/users/rkhaslarov/followers","following_url":"https://api.github.com/users/rkhaslarov/following{/other_user}","gists_url":"https://api.github.com/users/rkhaslarov/gists{/gist_id}","starred_url":"https://api.github.com/users/rkhaslarov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rkhaslarov/subscriptions","organizations_url":"https://api.github.com/users/rkhaslarov/orgs","repos_url":"https://api.github.com/users/rkhaslarov/repos","events_url":"https://api.github.com/users/rkhaslarov/events{/privacy}","received_events_url":"https://api.github.com/users/rkhaslarov/received_events","type":"User","site_admin":false},"assignees":[{"login":"rkhaslarov","id":24644463,"avatar_url":"https://avatars2.githubusercontent.com/u/24644463?v=4","gravatar_id":"","url":"https://api.github.com/users/rkhaslarov","html_url":"https://github.com/rkhaslarov","followers_url":"https://api.github.com/users/rkhaslarov/followers","following_url":"https://api.github.com/users/rkhaslarov/following{/other_user}","gists_url":"https://api.github.com/users/rkhaslarov/gists{/gist_id}","starred_url":"https://api.github.com/users/rkhaslarov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rkhaslarov/subscriptions","organizations_url":"https://api.github.com/users/rkhaslarov/orgs","repos_url":"https://api.github.com/users/rkhaslarov/repos","events_url":"https://api.github.com/users/rkhaslarov/events{/privacy}","received_events_url":"https://api.github.com/users/rkhaslarov/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/htmlacademy-javascript/474591-keksobooking/pulls/3/commits","review_comments_url":"https://api.github.com/repos/htmlacademy-javascript/474591-keksobooking/pulls/3/comments","review_comment_url":"https://api.github.com/repos/htmlacademy-javascript/474591-keksobooking/pulls/comments{/number}","comments_url":"https://api.github.com/repos/htmlacademy-javascript/474591-keksobooking/issues/3/comments","statuses_url":"https://api.github.com/repos/htmlacademy-javascript/474591-keksobooking/statuses/9222f1fd20e02d25fb96d868f8fb580e2d7feacf","head":{"label":"heyiamvika:module4-task1","ref":"module4-task1","sha":"9222f1fd20e02d25fb96d868f8fb580e2d7feacf","user":{"login":"heyiamvika","id":16744113,"avatar_url":"https://avatars2.githubusercontent.com/u/16744113?v=4","gravatar_id":"","url":"https://api.github.com/users/heyiamvika","html_url":"https://github.com/heyiamvika","followers_url":"https://api.github.com/users/heyiamvika/followers","following_url":"https://api.github.com/users/heyiamvika/following{/other_user}","gists_url":"https://api.github.com/users/heyiamvika/gists{/gist_id}","starred_url":"https://api.github.com/users/heyiamvika/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/heyiamvika/subscriptions","organizations_url":"https://api.github.com/users/heyiamvika/orgs","repos_url":"https://api.github.com/users/heyiamvika/repos","events_url":"https://api.github.com/users/heyiamvika/events{/privacy}","received_events_url":"https://api.github.com/users/heyiamvika/received_events","type":"User","site_admin":false},"repo":{"id":127128041,"name":"474591-keksobooking","full_name":"heyiamvika/474591-keksobooking","owner":{"login":"heyiamvika","id":16744113,"avatar_url":"https://avatars2.githubusercontent.com/u/16744113?v=4","gravatar_id":"","url":"https://api.github.com/users/heyiamvika","html_url":"https://github.com/heyiamvika","followers_url":"https://api.github.com/users/heyiamvika/followers","following_url":"https://api.github.com/users/heyiamvika/following{/other_user}","gists_url":"https://api.github.com/users/heyiamvika/gists{/gist_id}","starred_url":"https://api.github.com/users/heyiamvika/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/heyiamvika/subscriptions","organizations_url":"https://api.github.com/users/heyiamvika/orgs","repos_url":"https://api.github.com/users/heyiamvika/repos","events_url":"https://api.github.com/users/heyiamvika/events{/privacy}","received_events_url":"https://api.github.com/users/heyiamvika/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/heyiamvika/474591-keksobooking","description":"Viktoriia Nosova","fork":true,"url":"https://api.github.com/repos/heyiamvika/474591-keksobooking","forks_url":"https://api.github.com/repos/heyiamvika/474591-keksobooking/forks","keys_url":"https://api.github.com/repos/heyiamvika/474591-keksobooking/keys{/key_id}","collaborators_url":"https://api.github.com/repos/heyiamvika/474591-keksobooking/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/heyiamvika/474591-keksobooking/teams","hooks_url":"https://api.github.com/repos/heyiamvika/474591-keksobooking/hooks","issue_events_url":"https://api.github.com/repos/heyiamvika/474591-keksobooking/issues/events{/number}","events_url":"https://api.github.com/repos/heyiamvika/474591-keksobooking/events","assignees_url":"https://api.github.com/repos/heyiamvika/474591-keksobooking/assignees{/user}","branches_url":"https://api.github.com/repos/heyiamvika/474591-keksobooking/branches{/branch}","tags_url":"https://api.github.com/repos/heyiamvika/474591-keksobooking/tags","blobs_url":"https://api.github.com/repos/heyiamvika/474591-keksobooking/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/heyiamvika/474591-keksobooking/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/heyiamvika/474591-keksobooking/git/refs{/sha}","trees_url":"https://api.github.com/repos/heyiamvika/474591-keksobooking/git/trees{/sha}","statuses_url":"https://api.github.com/repos/heyiamvika/474591-keksobooking/statuses/{sha}","languages_url":"https://api.github.com/repos/heyiamvika/474591-keksobooking/languages","stargazers_url":"https://api.github.com/repos/heyiamvika/474591-keksobooking/stargazers","contributors_url":"https://api.github.com/repos/heyiamvika/474591-keksobooking/contributors","subscribers_url":"https://api.github.com/repos/heyiamvika/474591-keksobooking/subscribers","subscription_url":"https://api.github.com/repos/heyiamvika/474591-keksobooking/subscription","commits_url":"https://api.github.com/repos/heyiamvika/474591-keksobooking/commits{/sha}","git_commits_url":"https://api.github.com/repos/heyiamvika/474591-keksobooking/git/commits{/sha}","comments_url":"https://api.github.com/repos/heyiamvika/474591-keksobooking/comments{/number}","issue_comment_url":"https://api.github.com/repos/heyiamvika/474591-keksobooking/issues/comments{/number}","contents_url":"https://api.github.com/repos/heyiamvika/474591-keksobooking/contents/{+path}","compare_url":"https://api.github.com/repos/heyiamvika/474591-keksobooking/compare/{base}...{head}","merges_url":"https://api.github.com/repos/heyiamvika/474591-keksobooking/merges","archive_url":"https://api.github.com/repos/heyiamvika/474591-keksobooking/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/heyiamvika/474591-keksobooking/downloads","issues_url":"https://api.github.com/repos/heyiamvika/474591-keksobooking/issues{/number}","pulls_url":"https://api.github.com/repos/heyiamvika/474591-keksobooking/pulls{/number}","milestones_url":"https://api.github.com/repos/heyiamvika/474591-keksobooking/milestones{/number}","notifications_url":"https://api.github.com/repos/heyiamvika/474591-keksobooking/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/heyiamvika/474591-keksobooking/labels{/name}","releases_url":"https://api.github.com/repos/heyiamvika/474591-keksobooking/releases{/id}","deployments_url":"https://api.github.com/repos/heyiamvika/474591-keksobooking/deployments","created_at":"2018-03-28T11:07:59Z","updated_at":"2018-03-28T11:08:01Z","pushed_at":"2018-04-29T11:13:24Z","git_url":"git://github.com/heyiamvika/474591-keksobooking.git","ssh_url":"git@github.com:heyiamvika/474591-keksobooking.git","clone_url":"https://github.com/heyiamvika/474591-keksobooking.git","svn_url":"https://github.com/heyiamvika/474591-keksobooking","homepage":null,"size":597,"stargazers_count":0,"watchers_count":0,"language":"CSS","has_issues":false,"has_projects":true,"has_downloads":false,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"htmlacademy-javascript:master","ref":"master","sha":"0339190510803bb03c4ea4a1154afdb089a45027","user":{"login":"htmlacademy-javascript","id":14179712,"avatar_url":"https://avatars2.githubusercontent.com/u/14179712?v=4","gravatar_id":"","url":"https://api.github.com/users/htmlacademy-javascript","html_url":"https://github.com/htmlacademy-javascript","followers_url":"https://api.github.com/users/htmlacademy-javascript/followers","following_url":"https://api.github.com/users/htmlacademy-javascript/following{/other_user}","gists_url":"https://api.github.com/users/htmlacademy-javascript/gists{/gist_id}","starred_url":"https://api.github.com/users/htmlacademy-javascript/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/htmlacademy-javascript/subscriptions","organizations_url":"https://api.github.com/users/htmlacademy-javascript/orgs","repos_url":"https://api.github.com/users/htmlacademy-javascript/repos","events_url":"https://api.github.com/users/htmlacademy-javascript/events{/privacy}","received_events_url":"https://api.github.com/users/htmlacademy-javascript/received_events","type":"Organization","site_admin":false},"repo":{"id":127127710,"name":"474591-keksobooking","full_name":"htmlacademy-javascript/474591-keksobooking","owner":{"login":"htmlacademy-javascript","id":14179712,"avatar_url":"https://avatars2.githubusercontent.com/u/14179712?v=4","gravatar_id":"","url":"https://api.github.com/users/htmlacademy-javascript","html_url":"https://github.com/htmlacademy-javascript","followers_url":"https://api.github.com/users/htmlacademy-javascript/followers","following_url":"https://api.github.com/users/htmlacademy-javascript/following{/other_user}","gists_url":"https://api.github.com/users/htmlacademy-javascript/gists{/gist_id}","starred_url":"https://api.github.com/users/htmlacademy-javascript/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/htmlacademy-javascript/subscriptions","organizations_url":"https://api.github.com/users/htmlacademy-javascript/orgs","repos_url":"https://api.github.com/users/htmlacademy-javascript/repos","events_url":"https://api.github.com/users/htmlacademy-javascript/events{/privacy}","received_events_url":"https://api.github.com/users/htmlacademy-javascript/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/htmlacademy-javascript/474591-keksobooking","description":"Viktoriia Nosova","fork":false,"url":"https://api.github.com/repos/htmlacademy-javascript/474591-keksobooking","forks_url":"https://api.github.com/repos/htmlacademy-javascript/474591-keksobooking/forks","keys_url":"https://api.github.com/repos/htmlacademy-javascript/474591-keksobooking/keys{/key_id}","collaborators_url":"https://api.github.com/repos/htmlacademy-javascript/474591-keksobooking/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/htmlacademy-javascript/474591-keksobooking/teams","hooks_url":"https://api.github.com/repos/htmlacademy-javascript/474591-keksobooking/hooks","issue_events_url":"https://api.github.com/repos/htmlacademy-javascript/474591-keksobooking/issues/events{/number}","events_url":"https://api.github.com/repos/htmlacademy-javascript/474591-keksobooking/events","assignees_url":"https://api.github.com/repos/htmlacademy-javascript/474591-keksobooking/assignees{/user}","branches_url":"https://api.github.com/repos/htmlacademy-javascript/474591-keksobooking/branches{/branch}","tags_url":"https://api.github.com/repos/htmlacademy-javascript/474591-keksobooking/tags","blobs_url":"https://api.github.com/repos/htmlacademy-javascript/474591-keksobooking/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/htmlacademy-javascript/474591-keksobooking/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/htmlacademy-javascript/474591-keksobooking/git/refs{/sha}","trees_url":"https://api.github.com/repos/htmlacademy-javascript/474591-keksobooking/git/trees{/sha}","statuses_url":"https://api.github.com/repos/htmlacademy-javascript/474591-keksobooking/statuses/{sha}","languages_url":"https://api.github.com/repos/htmlacademy-javascript/474591-keksobooking/languages","stargazers_url":"https://api.github.com/repos/htmlacademy-javascript/474591-keksobooking/stargazers","contributors_url":"https://api.github.com/repos/htmlacademy-javascript/474591-keksobooking/contributors","subscribers_url":"https://api.github.com/repos/htmlacademy-javascript/474591-keksobooking/subscribers","subscription_url":"https://api.github.com/repos/htmlacademy-javascript/474591-keksobooking/subscription","commits_url":"https://api.github.com/repos/htmlacademy-javascript/474591-keksobooking/commits{/sha}","git_commits_url":"https://api.github.com/repos/htmlacademy-javascript/474591-keksobooking/git/commits{/sha}","comments_url":"https://api.github.com/repos/htmlacademy-javascript/474591-keksobooking/comments{/number}","issue_comment_url":"https://api.github.com/repos/htmlacademy-javascript/474591-keksobooking/issues/comments{/number}","contents_url":"https://api.github.com/repos/htmlacademy-javascript/474591-keksobooking/contents/{+path}","compare_url":"https://api.github.com/repos/htmlacademy-javascript/474591-keksobooking/compare/{base}...{head}","merges_url":"https://api.github.com/repos/htmlacademy-javascript/474591-keksobooking/merges","archive_url":"https://api.github.com/repos/htmlacademy-javascript/474591-keksobooking/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/htmlacademy-javascript/474591-keksobooking/downloads","issues_url":"https://api.github.com/repos/htmlacademy-javascript/474591-keksobooking/issues{/number}","pulls_url":"https://api.github.com/repos/htmlacademy-javascript/474591-keksobooking/pulls{/number}","milestones_url":"https://api.github.com/repos/htmlacademy-javascript/474591-keksobooking/milestones{/number}","notifications_url":"https://api.github.com/repos/htmlacademy-javascript/474591-keksobooking/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/htmlacademy-javascript/474591-keksobooking/labels{/name}","releases_url":"https://api.github.com/repos/htmlacademy-javascript/474591-keksobooking/releases{/id}","deployments_url":"https://api.github.com/repos/htmlacademy-javascript/474591-keksobooking/deployments","created_at":"2018-03-28T11:04:52Z","updated_at":"2018-04-26T17:52:19Z","pushed_at":"2018-04-29T11:59:04Z","git_url":"git://github.com/htmlacademy-javascript/474591-keksobooking.git","ssh_url":"git@github.com:htmlacademy-javascript/474591-keksobooking.git","clone_url":"https://github.com/htmlacademy-javascript/474591-keksobooking.git","svn_url":"https://github.com/htmlacademy-javascript/474591-keksobooking","homepage":"https://github.com/heyiamvika/474591-keksobooking","size":600,"stargazers_count":0,"watchers_count":0,"language":"CSS","has_issues":false,"has_projects":true,"has_downloads":false,"has_wiki":false,"has_pages":true,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":1,"license":null,"forks":1,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/htmlacademy-javascript/474591-keksobooking/pulls/3"},"html":{"href":"https://github.com/htmlacademy-javascript/474591-keksobooking/pull/3"},"issue":{"href":"https://api.github.com/repos/htmlacademy-javascript/474591-keksobooking/issues/3"},"comments":{"href":"https://api.github.com/repos/htmlacademy-javascript/474591-keksobooking/issues/3/comments"},"review_comments":{"href":"https://api.github.com/repos/htmlacademy-javascript/474591-keksobooking/pulls/3/comments"},"review_comment":{"href":"https://api.github.com/repos/htmlacademy-javascript/474591-keksobooking/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/htmlacademy-javascript/474591-keksobooking/pulls/3/commits"},"statuses":{"href":"https://api.github.com/repos/htmlacademy-javascript/474591-keksobooking/statuses/9222f1fd20e02d25fb96d868f8fb580e2d7feacf"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"rkhaslarov"}}