{"action":"created","comment":{"url":"https://api.github.com/repos/htmlacademy-javascript/114077-keksobooking/pulls/comments/168395414","pull_request_review_id":96753454,"id":168395414,"diff_hunk":"@@ -284,86 +283,110 @@ for (var j = 0; j < advertisements.length; j++) {\n   renderCard(j);\n }\n \n-\n+// Главный пин\n var mainPin = mapPins.querySelector('.map__pin--main');\n-\n // Поиск элементов формы\n var notice = document.querySelector('.notice');\n \n var noticeForm = notice.querySelector('.notice__form');\n var noticeFormHeader = notice.querySelector('.notice__header');\n var noticeFormElements = notice.querySelectorAll('.form__element');\n \n-// Установка аттрибута disabled\n-noticeFormHeader.setAttribute('disabled', 'disabled');\n+// Установка атрибута disabled\n+var setDisabled = function () {\n+  noticeFormHeader.disabled = true;\n \n-for (i = 0; i < noticeFormElements.length; i++) {\n-  noticeFormElements[i].setAttribute('disabled', 'disabled');\n-}\n+  for (i = 0; i < noticeFormElements.length; i++) {\n+    noticeFormElements[i].disabled = true;\n+  }\n+};\n \n+setDisabled();\n \n-// Заполнение поля адреса\n+// Переменные для устоановки координат адреса\n var MAIN_PIN_WIDTH = 62;\n var MAIN_PIN_HEIGHT = 84;\n var inputAddress = notice.querySelector('input[name=\"address\"]');","path":"js/map.js","position":null,"original_position":43,"commit_id":"70421acaa9a09072149424b7846bfe967b33f7bf","original_commit_id":"70421acaa9a09072149424b7846bfe967b33f7bf","user":{"login":"endophasie","id":3120209,"avatar_url":"https://avatars2.githubusercontent.com/u/3120209?v=4","gravatar_id":"","url":"https://api.github.com/users/endophasie","html_url":"https://github.com/endophasie","followers_url":"https://api.github.com/users/endophasie/followers","following_url":"https://api.github.com/users/endophasie/following{/other_user}","gists_url":"https://api.github.com/users/endophasie/gists{/gist_id}","starred_url":"https://api.github.com/users/endophasie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/endophasie/subscriptions","organizations_url":"https://api.github.com/users/endophasie/orgs","repos_url":"https://api.github.com/users/endophasie/repos","events_url":"https://api.github.com/users/endophasie/events{/privacy}","received_events_url":"https://api.github.com/users/endophasie/received_events","type":"User","site_admin":false},"body":"Это тоже лучше оформить в функцию","created_at":"2018-02-15T07:25:59Z","updated_at":"2018-02-15T07:35:47Z","html_url":"https://github.com/htmlacademy-javascript/114077-keksobooking/pull/3#discussion_r168395414","pull_request_url":"https://api.github.com/repos/htmlacademy-javascript/114077-keksobooking/pulls/3","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/htmlacademy-javascript/114077-keksobooking/pulls/comments/168395414"},"html":{"href":"https://github.com/htmlacademy-javascript/114077-keksobooking/pull/3#discussion_r168395414"},"pull_request":{"href":"https://api.github.com/repos/htmlacademy-javascript/114077-keksobooking/pulls/3"}}},"pull_request":{"url":"https://api.github.com/repos/htmlacademy-javascript/114077-keksobooking/pulls/3","id":168450664,"html_url":"https://github.com/htmlacademy-javascript/114077-keksobooking/pull/3","diff_url":"https://github.com/htmlacademy-javascript/114077-keksobooking/pull/3.diff","patch_url":"https://github.com/htmlacademy-javascript/114077-keksobooking/pull/3.patch","issue_url":"https://api.github.com/repos/htmlacademy-javascript/114077-keksobooking/issues/3","number":3,"state":"open","locked":false,"title":"Личный проект: подробности","user":{"login":"fohunoff","id":18401851,"avatar_url":"https://avatars2.githubusercontent.com/u/18401851?v=4","gravatar_id":"","url":"https://api.github.com/users/fohunoff","html_url":"https://github.com/fohunoff","followers_url":"https://api.github.com/users/fohunoff/followers","following_url":"https://api.github.com/users/fohunoff/following{/other_user}","gists_url":"https://api.github.com/users/fohunoff/gists{/gist_id}","starred_url":"https://api.github.com/users/fohunoff/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fohunoff/subscriptions","organizations_url":"https://api.github.com/users/fohunoff/orgs","repos_url":"https://api.github.com/users/fohunoff/repos","events_url":"https://api.github.com/users/fohunoff/events{/privacy}","received_events_url":"https://api.github.com/users/fohunoff/received_events","type":"User","site_admin":false},"body":"\n\n---\n:mortar_board: [Личный проект: подробности](https://up.htmlacademy.ru/javascript/12/user/114077/tasks/13)\n\n:boom: https://htmlacademy-javascript.github.io/114077-keksobooking/3/","created_at":"2018-02-11T12:11:12Z","updated_at":"2018-02-15T07:35:47Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ceb1d6804cfd6a6cb5f5b1c906253e83e8242de9","assignee":{"login":"endophasie","id":3120209,"avatar_url":"https://avatars2.githubusercontent.com/u/3120209?v=4","gravatar_id":"","url":"https://api.github.com/users/endophasie","html_url":"https://github.com/endophasie","followers_url":"https://api.github.com/users/endophasie/followers","following_url":"https://api.github.com/users/endophasie/following{/other_user}","gists_url":"https://api.github.com/users/endophasie/gists{/gist_id}","starred_url":"https://api.github.com/users/endophasie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/endophasie/subscriptions","organizations_url":"https://api.github.com/users/endophasie/orgs","repos_url":"https://api.github.com/users/endophasie/repos","events_url":"https://api.github.com/users/endophasie/events{/privacy}","received_events_url":"https://api.github.com/users/endophasie/received_events","type":"User","site_admin":false},"assignees":[{"login":"endophasie","id":3120209,"avatar_url":"https://avatars2.githubusercontent.com/u/3120209?v=4","gravatar_id":"","url":"https://api.github.com/users/endophasie","html_url":"https://github.com/endophasie","followers_url":"https://api.github.com/users/endophasie/followers","following_url":"https://api.github.com/users/endophasie/following{/other_user}","gists_url":"https://api.github.com/users/endophasie/gists{/gist_id}","starred_url":"https://api.github.com/users/endophasie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/endophasie/subscriptions","organizations_url":"https://api.github.com/users/endophasie/orgs","repos_url":"https://api.github.com/users/endophasie/repos","events_url":"https://api.github.com/users/endophasie/events{/privacy}","received_events_url":"https://api.github.com/users/endophasie/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/htmlacademy-javascript/114077-keksobooking/pulls/3/commits","review_comments_url":"https://api.github.com/repos/htmlacademy-javascript/114077-keksobooking/pulls/3/comments","review_comment_url":"https://api.github.com/repos/htmlacademy-javascript/114077-keksobooking/pulls/comments{/number}","comments_url":"https://api.github.com/repos/htmlacademy-javascript/114077-keksobooking/issues/3/comments","statuses_url":"https://api.github.com/repos/htmlacademy-javascript/114077-keksobooking/statuses/70421acaa9a09072149424b7846bfe967b33f7bf","head":{"label":"fohunoff:module4-task1","ref":"module4-task1","sha":"70421acaa9a09072149424b7846bfe967b33f7bf","user":{"login":"fohunoff","id":18401851,"avatar_url":"https://avatars2.githubusercontent.com/u/18401851?v=4","gravatar_id":"","url":"https://api.github.com/users/fohunoff","html_url":"https://github.com/fohunoff","followers_url":"https://api.github.com/users/fohunoff/followers","following_url":"https://api.github.com/users/fohunoff/following{/other_user}","gists_url":"https://api.github.com/users/fohunoff/gists{/gist_id}","starred_url":"https://api.github.com/users/fohunoff/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fohunoff/subscriptions","organizations_url":"https://api.github.com/users/fohunoff/orgs","repos_url":"https://api.github.com/users/fohunoff/repos","events_url":"https://api.github.com/users/fohunoff/events{/privacy}","received_events_url":"https://api.github.com/users/fohunoff/received_events","type":"User","site_admin":false},"repo":{"id":118659486,"name":"114077-keksobooking","full_name":"fohunoff/114077-keksobooking","owner":{"login":"fohunoff","id":18401851,"avatar_url":"https://avatars2.githubusercontent.com/u/18401851?v=4","gravatar_id":"","url":"https://api.github.com/users/fohunoff","html_url":"https://github.com/fohunoff","followers_url":"https://api.github.com/users/fohunoff/followers","following_url":"https://api.github.com/users/fohunoff/following{/other_user}","gists_url":"https://api.github.com/users/fohunoff/gists{/gist_id}","starred_url":"https://api.github.com/users/fohunoff/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fohunoff/subscriptions","organizations_url":"https://api.github.com/users/fohunoff/orgs","repos_url":"https://api.github.com/users/fohunoff/repos","events_url":"https://api.github.com/users/fohunoff/events{/privacy}","received_events_url":"https://api.github.com/users/fohunoff/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/fohunoff/114077-keksobooking","description":"Иван Загайнов","fork":true,"url":"https://api.github.com/repos/fohunoff/114077-keksobooking","forks_url":"https://api.github.com/repos/fohunoff/114077-keksobooking/forks","keys_url":"https://api.github.com/repos/fohunoff/114077-keksobooking/keys{/key_id}","collaborators_url":"https://api.github.com/repos/fohunoff/114077-keksobooking/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/fohunoff/114077-keksobooking/teams","hooks_url":"https://api.github.com/repos/fohunoff/114077-keksobooking/hooks","issue_events_url":"https://api.github.com/repos/fohunoff/114077-keksobooking/issues/events{/number}","events_url":"https://api.github.com/repos/fohunoff/114077-keksobooking/events","assignees_url":"https://api.github.com/repos/fohunoff/114077-keksobooking/assignees{/user}","branches_url":"https://api.github.com/repos/fohunoff/114077-keksobooking/branches{/branch}","tags_url":"https://api.github.com/repos/fohunoff/114077-keksobooking/tags","blobs_url":"https://api.github.com/repos/fohunoff/114077-keksobooking/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/fohunoff/114077-keksobooking/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/fohunoff/114077-keksobooking/git/refs{/sha}","trees_url":"https://api.github.com/repos/fohunoff/114077-keksobooking/git/trees{/sha}","statuses_url":"https://api.github.com/repos/fohunoff/114077-keksobooking/statuses/{sha}","languages_url":"https://api.github.com/repos/fohunoff/114077-keksobooking/languages","stargazers_url":"https://api.github.com/repos/fohunoff/114077-keksobooking/stargazers","contributors_url":"https://api.github.com/repos/fohunoff/114077-keksobooking/contributors","subscribers_url":"https://api.github.com/repos/fohunoff/114077-keksobooking/subscribers","subscription_url":"https://api.github.com/repos/fohunoff/114077-keksobooking/subscription","commits_url":"https://api.github.com/repos/fohunoff/114077-keksobooking/commits{/sha}","git_commits_url":"https://api.github.com/repos/fohunoff/114077-keksobooking/git/commits{/sha}","comments_url":"https://api.github.com/repos/fohunoff/114077-keksobooking/comments{/number}","issue_comment_url":"https://api.github.com/repos/fohunoff/114077-keksobooking/issues/comments{/number}","contents_url":"https://api.github.com/repos/fohunoff/114077-keksobooking/contents/{+path}","compare_url":"https://api.github.com/repos/fohunoff/114077-keksobooking/compare/{base}...{head}","merges_url":"https://api.github.com/repos/fohunoff/114077-keksobooking/merges","archive_url":"https://api.github.com/repos/fohunoff/114077-keksobooking/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/fohunoff/114077-keksobooking/downloads","issues_url":"https://api.github.com/repos/fohunoff/114077-keksobooking/issues{/number}","pulls_url":"https://api.github.com/repos/fohunoff/114077-keksobooking/pulls{/number}","milestones_url":"https://api.github.com/repos/fohunoff/114077-keksobooking/milestones{/number}","notifications_url":"https://api.github.com/repos/fohunoff/114077-keksobooking/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/fohunoff/114077-keksobooking/labels{/name}","releases_url":"https://api.github.com/repos/fohunoff/114077-keksobooking/releases{/id}","deployments_url":"https://api.github.com/repos/fohunoff/114077-keksobooking/deployments","created_at":"2018-01-23T19:36:40Z","updated_at":"2018-01-23T19:36:42Z","pushed_at":"2018-02-14T18:25:12Z","git_url":"git://github.com/fohunoff/114077-keksobooking.git","ssh_url":"git@github.com:fohunoff/114077-keksobooking.git","clone_url":"https://github.com/fohunoff/114077-keksobooking.git","svn_url":"https://github.com/fohunoff/114077-keksobooking","homepage":null,"size":765,"stargazers_count":0,"watchers_count":0,"language":"HTML","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":"25e6345878f4c703b9efae62a85c00ce72b6bf63","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":118653008,"name":"114077-keksobooking","full_name":"htmlacademy-javascript/114077-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/114077-keksobooking","description":"Иван Загайнов","fork":false,"url":"https://api.github.com/repos/htmlacademy-javascript/114077-keksobooking","forks_url":"https://api.github.com/repos/htmlacademy-javascript/114077-keksobooking/forks","keys_url":"https://api.github.com/repos/htmlacademy-javascript/114077-keksobooking/keys{/key_id}","collaborators_url":"https://api.github.com/repos/htmlacademy-javascript/114077-keksobooking/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/htmlacademy-javascript/114077-keksobooking/teams","hooks_url":"https://api.github.com/repos/htmlacademy-javascript/114077-keksobooking/hooks","issue_events_url":"https://api.github.com/repos/htmlacademy-javascript/114077-keksobooking/issues/events{/number}","events_url":"https://api.github.com/repos/htmlacademy-javascript/114077-keksobooking/events","assignees_url":"https://api.github.com/repos/htmlacademy-javascript/114077-keksobooking/assignees{/user}","branches_url":"https://api.github.com/repos/htmlacademy-javascript/114077-keksobooking/branches{/branch}","tags_url":"https://api.github.com/repos/htmlacademy-javascript/114077-keksobooking/tags","blobs_url":"https://api.github.com/repos/htmlacademy-javascript/114077-keksobooking/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/htmlacademy-javascript/114077-keksobooking/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/htmlacademy-javascript/114077-keksobooking/git/refs{/sha}","trees_url":"https://api.github.com/repos/htmlacademy-javascript/114077-keksobooking/git/trees{/sha}","statuses_url":"https://api.github.com/repos/htmlacademy-javascript/114077-keksobooking/statuses/{sha}","languages_url":"https://api.github.com/repos/htmlacademy-javascript/114077-keksobooking/languages","stargazers_url":"https://api.github.com/repos/htmlacademy-javascript/114077-keksobooking/stargazers","contributors_url":"https://api.github.com/repos/htmlacademy-javascript/114077-keksobooking/contributors","subscribers_url":"https://api.github.com/repos/htmlacademy-javascript/114077-keksobooking/subscribers","subscription_url":"https://api.github.com/repos/htmlacademy-javascript/114077-keksobooking/subscription","commits_url":"https://api.github.com/repos/htmlacademy-javascript/114077-keksobooking/commits{/sha}","git_commits_url":"https://api.github.com/repos/htmlacademy-javascript/114077-keksobooking/git/commits{/sha}","comments_url":"https://api.github.com/repos/htmlacademy-javascript/114077-keksobooking/comments{/number}","issue_comment_url":"https://api.github.com/repos/htmlacademy-javascript/114077-keksobooking/issues/comments{/number}","contents_url":"https://api.github.com/repos/htmlacademy-javascript/114077-keksobooking/contents/{+path}","compare_url":"https://api.github.com/repos/htmlacademy-javascript/114077-keksobooking/compare/{base}...{head}","merges_url":"https://api.github.com/repos/htmlacademy-javascript/114077-keksobooking/merges","archive_url":"https://api.github.com/repos/htmlacademy-javascript/114077-keksobooking/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/htmlacademy-javascript/114077-keksobooking/downloads","issues_url":"https://api.github.com/repos/htmlacademy-javascript/114077-keksobooking/issues{/number}","pulls_url":"https://api.github.com/repos/htmlacademy-javascript/114077-keksobooking/pulls{/number}","milestones_url":"https://api.github.com/repos/htmlacademy-javascript/114077-keksobooking/milestones{/number}","notifications_url":"https://api.github.com/repos/htmlacademy-javascript/114077-keksobooking/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/htmlacademy-javascript/114077-keksobooking/labels{/name}","releases_url":"https://api.github.com/repos/htmlacademy-javascript/114077-keksobooking/releases{/id}","deployments_url":"https://api.github.com/repos/htmlacademy-javascript/114077-keksobooking/deployments","created_at":"2018-01-23T18:42:05Z","updated_at":"2018-01-23T19:43:31Z","pushed_at":"2018-02-15T07:28:43Z","git_url":"git://github.com/htmlacademy-javascript/114077-keksobooking.git","ssh_url":"git@github.com:htmlacademy-javascript/114077-keksobooking.git","clone_url":"https://github.com/htmlacademy-javascript/114077-keksobooking.git","svn_url":"https://github.com/htmlacademy-javascript/114077-keksobooking","homepage":"https://github.com/fohunoff/114077-keksobooking","size":769,"stargazers_count":0,"watchers_count":0,"language":"HTML","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/114077-keksobooking/pulls/3"},"html":{"href":"https://github.com/htmlacademy-javascript/114077-keksobooking/pull/3"},"issue":{"href":"https://api.github.com/repos/htmlacademy-javascript/114077-keksobooking/issues/3"},"comments":{"href":"https://api.github.com/repos/htmlacademy-javascript/114077-keksobooking/issues/3/comments"},"review_comments":{"href":"https://api.github.com/repos/htmlacademy-javascript/114077-keksobooking/pulls/3/comments"},"review_comment":{"href":"https://api.github.com/repos/htmlacademy-javascript/114077-keksobooking/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/htmlacademy-javascript/114077-keksobooking/pulls/3/commits"},"statuses":{"href":"https://api.github.com/repos/htmlacademy-javascript/114077-keksobooking/statuses/70421acaa9a09072149424b7846bfe967b33f7bf"}},"author_association":"NONE"}}
{"actor":{"display_login":"endophasie"}}