{"action":"created","comment":{"url":"https://api.github.com/repos/htmlacademy-javascript/692341-kekstagram/pulls/comments/200849380","pull_request_review_id":135241606,"id":200849380,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIwMDg0OTM4MA==","diff_hunk":"@@ -57,16 +75,38 @@\n   };\n \n   var clearFields = function () {\n-    hashtags.value = '';\n+    textHashtags.value = '';\n     textDescription.value = '';\n+    textHashtags.style.border = '';\n   };\n \n-  textDescription.addEventListener('keydown', uploadTextEscPressHandler);\n-  hashtags.addEventListener('keydown', uploadTextEscPressHandler);\n+  var stopEscPressText = function () {\n+    textDescription.addEventListener('keydown', uploadTextEscPressHandler);\n+    textHashtags.addEventListener('keydown', uploadTextEscPressHandler);\n+  };\n+\n+  var revertEscPressText = function () {\n+    textDescription.removeEventListener('keydown', uploadTextEscPressHandler);\n+    textHashtags.removeEventListener('keydown', uploadTextEscPressHandler);\n+  };\n+\n+\n+  var renderErrorBorder = function (field) {\n+    if (field === 'comments') {\n+      textDescription.setAttribute('style', 'border: 3px solid red;');\n+      return;\n+    }\n+    if (field === 'hashtags') {\n+      textHashtags.setAttribute('style', 'border: 3px solid red;');","path":"js/comments_hashtags.js","position":116,"original_position":116,"commit_id":"57e07a2bc2d8e6fb1ea8d8aba092f6236017222d","original_commit_id":"57e07a2bc2d8e6fb1ea8d8aba092f6236017222d","user":{"login":"tselishev-semen","id":5156529,"node_id":"MDQ6VXNlcjUxNTY1Mjk=","avatar_url":"https://avatars2.githubusercontent.com/u/5156529?v=4","gravatar_id":"","url":"https://api.github.com/users/tselishev-semen","html_url":"https://github.com/tselishev-semen","followers_url":"https://api.github.com/users/tselishev-semen/followers","following_url":"https://api.github.com/users/tselishev-semen/following{/other_user}","gists_url":"https://api.github.com/users/tselishev-semen/gists{/gist_id}","starred_url":"https://api.github.com/users/tselishev-semen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tselishev-semen/subscriptions","organizations_url":"https://api.github.com/users/tselishev-semen/orgs","repos_url":"https://api.github.com/users/tselishev-semen/repos","events_url":"https://api.github.com/users/tselishev-semen/events{/privacy}","received_events_url":"https://api.github.com/users/tselishev-semen/received_events","type":"User","site_admin":false},"body":"дублирование со строчка  96 'border: 3px solid red' константу тоже стоит","created_at":"2018-07-08T18:38:49Z","updated_at":"2018-07-08T18:38:49Z","html_url":"https://github.com/htmlacademy-javascript/692341-kekstagram/pull/10#discussion_r200849380","pull_request_url":"https://api.github.com/repos/htmlacademy-javascript/692341-kekstagram/pulls/10","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/htmlacademy-javascript/692341-kekstagram/pulls/comments/200849380"},"html":{"href":"https://github.com/htmlacademy-javascript/692341-kekstagram/pull/10#discussion_r200849380"},"pull_request":{"href":"https://api.github.com/repos/htmlacademy-javascript/692341-kekstagram/pulls/10"}}},"pull_request":{"url":"https://api.github.com/repos/htmlacademy-javascript/692341-kekstagram/pulls/10","id":199951289,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk5OTUxMjg5","html_url":"https://github.com/htmlacademy-javascript/692341-kekstagram/pull/10","diff_url":"https://github.com/htmlacademy-javascript/692341-kekstagram/pull/10.diff","patch_url":"https://github.com/htmlacademy-javascript/692341-kekstagram/pull/10.patch","issue_url":"https://api.github.com/repos/htmlacademy-javascript/692341-kekstagram/issues/10","number":10,"state":"open","locked":false,"title":"first review fixes","user":{"login":"chuchi666","id":39630615,"node_id":"MDQ6VXNlcjM5NjMwNjE1","avatar_url":"https://avatars0.githubusercontent.com/u/39630615?v=4","gravatar_id":"","url":"https://api.github.com/users/chuchi666","html_url":"https://github.com/chuchi666","followers_url":"https://api.github.com/users/chuchi666/followers","following_url":"https://api.github.com/users/chuchi666/following{/other_user}","gists_url":"https://api.github.com/users/chuchi666/gists{/gist_id}","starred_url":"https://api.github.com/users/chuchi666/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chuchi666/subscriptions","organizations_url":"https://api.github.com/users/chuchi666/orgs","repos_url":"https://api.github.com/users/chuchi666/repos","events_url":"https://api.github.com/users/chuchi666/events{/privacy}","received_events_url":"https://api.github.com/users/chuchi666/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-07-08T17:07:26Z","updated_at":"2018-07-08T18:38:49Z","closed_at":null,"merged_at":null,"merge_commit_sha":"4d5c0fa0fedcae2504b78e2ed322f605291bd52a","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/htmlacademy-javascript/692341-kekstagram/pulls/10/commits","review_comments_url":"https://api.github.com/repos/htmlacademy-javascript/692341-kekstagram/pulls/10/comments","review_comment_url":"https://api.github.com/repos/htmlacademy-javascript/692341-kekstagram/pulls/comments{/number}","comments_url":"https://api.github.com/repos/htmlacademy-javascript/692341-kekstagram/issues/10/comments","statuses_url":"https://api.github.com/repos/htmlacademy-javascript/692341-kekstagram/statuses/57e07a2bc2d8e6fb1ea8d8aba092f6236017222d","head":{"label":"chuchi666:first_review_fixes","ref":"first_review_fixes","sha":"57e07a2bc2d8e6fb1ea8d8aba092f6236017222d","user":{"login":"chuchi666","id":39630615,"node_id":"MDQ6VXNlcjM5NjMwNjE1","avatar_url":"https://avatars0.githubusercontent.com/u/39630615?v=4","gravatar_id":"","url":"https://api.github.com/users/chuchi666","html_url":"https://github.com/chuchi666","followers_url":"https://api.github.com/users/chuchi666/followers","following_url":"https://api.github.com/users/chuchi666/following{/other_user}","gists_url":"https://api.github.com/users/chuchi666/gists{/gist_id}","starred_url":"https://api.github.com/users/chuchi666/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chuchi666/subscriptions","organizations_url":"https://api.github.com/users/chuchi666/orgs","repos_url":"https://api.github.com/users/chuchi666/repos","events_url":"https://api.github.com/users/chuchi666/events{/privacy}","received_events_url":"https://api.github.com/users/chuchi666/received_events","type":"User","site_admin":false},"repo":{"id":135403665,"node_id":"MDEwOlJlcG9zaXRvcnkxMzU0MDM2NjU=","name":"692341-kekstagram","full_name":"chuchi666/692341-kekstagram","owner":{"login":"chuchi666","id":39630615,"node_id":"MDQ6VXNlcjM5NjMwNjE1","avatar_url":"https://avatars0.githubusercontent.com/u/39630615?v=4","gravatar_id":"","url":"https://api.github.com/users/chuchi666","html_url":"https://github.com/chuchi666","followers_url":"https://api.github.com/users/chuchi666/followers","following_url":"https://api.github.com/users/chuchi666/following{/other_user}","gists_url":"https://api.github.com/users/chuchi666/gists{/gist_id}","starred_url":"https://api.github.com/users/chuchi666/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chuchi666/subscriptions","organizations_url":"https://api.github.com/users/chuchi666/orgs","repos_url":"https://api.github.com/users/chuchi666/repos","events_url":"https://api.github.com/users/chuchi666/events{/privacy}","received_events_url":"https://api.github.com/users/chuchi666/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/chuchi666/692341-kekstagram","description":"Катерина Пшеничнова","fork":true,"url":"https://api.github.com/repos/chuchi666/692341-kekstagram","forks_url":"https://api.github.com/repos/chuchi666/692341-kekstagram/forks","keys_url":"https://api.github.com/repos/chuchi666/692341-kekstagram/keys{/key_id}","collaborators_url":"https://api.github.com/repos/chuchi666/692341-kekstagram/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/chuchi666/692341-kekstagram/teams","hooks_url":"https://api.github.com/repos/chuchi666/692341-kekstagram/hooks","issue_events_url":"https://api.github.com/repos/chuchi666/692341-kekstagram/issues/events{/number}","events_url":"https://api.github.com/repos/chuchi666/692341-kekstagram/events","assignees_url":"https://api.github.com/repos/chuchi666/692341-kekstagram/assignees{/user}","branches_url":"https://api.github.com/repos/chuchi666/692341-kekstagram/branches{/branch}","tags_url":"https://api.github.com/repos/chuchi666/692341-kekstagram/tags","blobs_url":"https://api.github.com/repos/chuchi666/692341-kekstagram/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/chuchi666/692341-kekstagram/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/chuchi666/692341-kekstagram/git/refs{/sha}","trees_url":"https://api.github.com/repos/chuchi666/692341-kekstagram/git/trees{/sha}","statuses_url":"https://api.github.com/repos/chuchi666/692341-kekstagram/statuses/{sha}","languages_url":"https://api.github.com/repos/chuchi666/692341-kekstagram/languages","stargazers_url":"https://api.github.com/repos/chuchi666/692341-kekstagram/stargazers","contributors_url":"https://api.github.com/repos/chuchi666/692341-kekstagram/contributors","subscribers_url":"https://api.github.com/repos/chuchi666/692341-kekstagram/subscribers","subscription_url":"https://api.github.com/repos/chuchi666/692341-kekstagram/subscription","commits_url":"https://api.github.com/repos/chuchi666/692341-kekstagram/commits{/sha}","git_commits_url":"https://api.github.com/repos/chuchi666/692341-kekstagram/git/commits{/sha}","comments_url":"https://api.github.com/repos/chuchi666/692341-kekstagram/comments{/number}","issue_comment_url":"https://api.github.com/repos/chuchi666/692341-kekstagram/issues/comments{/number}","contents_url":"https://api.github.com/repos/chuchi666/692341-kekstagram/contents/{+path}","compare_url":"https://api.github.com/repos/chuchi666/692341-kekstagram/compare/{base}...{head}","merges_url":"https://api.github.com/repos/chuchi666/692341-kekstagram/merges","archive_url":"https://api.github.com/repos/chuchi666/692341-kekstagram/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/chuchi666/692341-kekstagram/downloads","issues_url":"https://api.github.com/repos/chuchi666/692341-kekstagram/issues{/number}","pulls_url":"https://api.github.com/repos/chuchi666/692341-kekstagram/pulls{/number}","milestones_url":"https://api.github.com/repos/chuchi666/692341-kekstagram/milestones{/number}","notifications_url":"https://api.github.com/repos/chuchi666/692341-kekstagram/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/chuchi666/692341-kekstagram/labels{/name}","releases_url":"https://api.github.com/repos/chuchi666/692341-kekstagram/releases{/id}","deployments_url":"https://api.github.com/repos/chuchi666/692341-kekstagram/deployments","created_at":"2018-05-30T07:16:31Z","updated_at":"2018-07-05T10:43:13Z","pushed_at":"2018-07-08T17:05:10Z","git_url":"git://github.com/chuchi666/692341-kekstagram.git","ssh_url":"git@github.com:chuchi666/692341-kekstagram.git","clone_url":"https://github.com/chuchi666/692341-kekstagram.git","svn_url":"https://github.com/chuchi666/692341-kekstagram","homepage":null,"size":2236,"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":"a51902f85080c757beef47bed38eecf725640b0e","user":{"login":"htmlacademy-javascript","id":14179712,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE0MTc5NzEy","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":135403629,"node_id":"MDEwOlJlcG9zaXRvcnkxMzU0MDM2Mjk=","name":"692341-kekstagram","full_name":"htmlacademy-javascript/692341-kekstagram","owner":{"login":"htmlacademy-javascript","id":14179712,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE0MTc5NzEy","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/692341-kekstagram","description":"Катерина Пшеничнова","fork":false,"url":"https://api.github.com/repos/htmlacademy-javascript/692341-kekstagram","forks_url":"https://api.github.com/repos/htmlacademy-javascript/692341-kekstagram/forks","keys_url":"https://api.github.com/repos/htmlacademy-javascript/692341-kekstagram/keys{/key_id}","collaborators_url":"https://api.github.com/repos/htmlacademy-javascript/692341-kekstagram/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/htmlacademy-javascript/692341-kekstagram/teams","hooks_url":"https://api.github.com/repos/htmlacademy-javascript/692341-kekstagram/hooks","issue_events_url":"https://api.github.com/repos/htmlacademy-javascript/692341-kekstagram/issues/events{/number}","events_url":"https://api.github.com/repos/htmlacademy-javascript/692341-kekstagram/events","assignees_url":"https://api.github.com/repos/htmlacademy-javascript/692341-kekstagram/assignees{/user}","branches_url":"https://api.github.com/repos/htmlacademy-javascript/692341-kekstagram/branches{/branch}","tags_url":"https://api.github.com/repos/htmlacademy-javascript/692341-kekstagram/tags","blobs_url":"https://api.github.com/repos/htmlacademy-javascript/692341-kekstagram/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/htmlacademy-javascript/692341-kekstagram/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/htmlacademy-javascript/692341-kekstagram/git/refs{/sha}","trees_url":"https://api.github.com/repos/htmlacademy-javascript/692341-kekstagram/git/trees{/sha}","statuses_url":"https://api.github.com/repos/htmlacademy-javascript/692341-kekstagram/statuses/{sha}","languages_url":"https://api.github.com/repos/htmlacademy-javascript/692341-kekstagram/languages","stargazers_url":"https://api.github.com/repos/htmlacademy-javascript/692341-kekstagram/stargazers","contributors_url":"https://api.github.com/repos/htmlacademy-javascript/692341-kekstagram/contributors","subscribers_url":"https://api.github.com/repos/htmlacademy-javascript/692341-kekstagram/subscribers","subscription_url":"https://api.github.com/repos/htmlacademy-javascript/692341-kekstagram/subscription","commits_url":"https://api.github.com/repos/htmlacademy-javascript/692341-kekstagram/commits{/sha}","git_commits_url":"https://api.github.com/repos/htmlacademy-javascript/692341-kekstagram/git/commits{/sha}","comments_url":"https://api.github.com/repos/htmlacademy-javascript/692341-kekstagram/comments{/number}","issue_comment_url":"https://api.github.com/repos/htmlacademy-javascript/692341-kekstagram/issues/comments{/number}","contents_url":"https://api.github.com/repos/htmlacademy-javascript/692341-kekstagram/contents/{+path}","compare_url":"https://api.github.com/repos/htmlacademy-javascript/692341-kekstagram/compare/{base}...{head}","merges_url":"https://api.github.com/repos/htmlacademy-javascript/692341-kekstagram/merges","archive_url":"https://api.github.com/repos/htmlacademy-javascript/692341-kekstagram/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/htmlacademy-javascript/692341-kekstagram/downloads","issues_url":"https://api.github.com/repos/htmlacademy-javascript/692341-kekstagram/issues{/number}","pulls_url":"https://api.github.com/repos/htmlacademy-javascript/692341-kekstagram/pulls{/number}","milestones_url":"https://api.github.com/repos/htmlacademy-javascript/692341-kekstagram/milestones{/number}","notifications_url":"https://api.github.com/repos/htmlacademy-javascript/692341-kekstagram/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/htmlacademy-javascript/692341-kekstagram/labels{/name}","releases_url":"https://api.github.com/repos/htmlacademy-javascript/692341-kekstagram/releases{/id}","deployments_url":"https://api.github.com/repos/htmlacademy-javascript/692341-kekstagram/deployments","created_at":"2018-05-30T07:16:13Z","updated_at":"2018-07-06T20:00:59Z","pushed_at":"2018-07-08T17:07:27Z","git_url":"git://github.com/htmlacademy-javascript/692341-kekstagram.git","ssh_url":"git@github.com:htmlacademy-javascript/692341-kekstagram.git","clone_url":"https://github.com/htmlacademy-javascript/692341-kekstagram.git","svn_url":"https://github.com/htmlacademy-javascript/692341-kekstagram","homepage":"https://github.com/chuchi666/692341-kekstagram","size":2260,"stargazers_count":0,"watchers_count":0,"language":"CSS","has_issues":false,"has_projects":false,"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/692341-kekstagram/pulls/10"},"html":{"href":"https://github.com/htmlacademy-javascript/692341-kekstagram/pull/10"},"issue":{"href":"https://api.github.com/repos/htmlacademy-javascript/692341-kekstagram/issues/10"},"comments":{"href":"https://api.github.com/repos/htmlacademy-javascript/692341-kekstagram/issues/10/comments"},"review_comments":{"href":"https://api.github.com/repos/htmlacademy-javascript/692341-kekstagram/pulls/10/comments"},"review_comment":{"href":"https://api.github.com/repos/htmlacademy-javascript/692341-kekstagram/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/htmlacademy-javascript/692341-kekstagram/pulls/10/commits"},"statuses":{"href":"https://api.github.com/repos/htmlacademy-javascript/692341-kekstagram/statuses/57e07a2bc2d8e6fb1ea8d8aba092f6236017222d"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"tselishev-semen"}}