{"action":"created","comment":{"url":"https://api.github.com/repos/htmlacademy-javascript/105118-kekstagram/pulls/comments/84373094","pull_request_review_id":5154631,"id":84373094,"diff_hunk":"@@ -238,7 +238,15 @@\n    * Обработчик изменения фильтра. Добавляет класс из filterMap соответствующий\n    * выбранному значению в форме.\n    */\n+\n+  //Берём стандартный фильтр из Cookies\n+\n+  filterImage.className = 'filter-image-preview ' + window.Cookies.get('upload-filter');\n+  var selectedForm = document.querySelector('#upload-' + window.Cookies.get('upload-filter'));\n+  selectedForm.checked = true;","path":"src/js/upload.js","position":9,"original_position":9,"commit_id":"156e1e6a916665a924f885c0951227fff860929b","original_commit_id":"156e1e6a916665a924f885c0951227fff860929b","user":{"login":"princed","id":796050,"avatar_url":"https://avatars.githubusercontent.com/u/796050?v=3","gravatar_id":"","url":"https://api.github.com/users/princed","html_url":"https://github.com/princed","followers_url":"https://api.github.com/users/princed/followers","following_url":"https://api.github.com/users/princed/following{/other_user}","gists_url":"https://api.github.com/users/princed/gists{/gist_id}","starred_url":"https://api.github.com/users/princed/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/princed/subscriptions","organizations_url":"https://api.github.com/users/princed/orgs","repos_url":"https://api.github.com/users/princed/repos","events_url":"https://api.github.com/users/princed/events{/privacy}","received_events_url":"https://api.github.com/users/princed/received_events","type":"User","site_admin":false},"body":"А что будет, если кука пустая?","created_at":"2016-10-20T20:50:31Z","updated_at":"2016-10-20T20:50:31Z","html_url":"https://github.com/htmlacademy-javascript/105118-kekstagram/pull/12#discussion_r84373094","pull_request_url":"https://api.github.com/repos/htmlacademy-javascript/105118-kekstagram/pulls/12","_links":{"self":{"href":"https://api.github.com/repos/htmlacademy-javascript/105118-kekstagram/pulls/comments/84373094"},"html":{"href":"https://github.com/htmlacademy-javascript/105118-kekstagram/pull/12#discussion_r84373094"},"pull_request":{"href":"https://api.github.com/repos/htmlacademy-javascript/105118-kekstagram/pulls/12"}}},"pull_request":{"url":"https://api.github.com/repos/htmlacademy-javascript/105118-kekstagram/pulls/12","id":90207271,"html_url":"https://github.com/htmlacademy-javascript/105118-kekstagram/pull/12","diff_url":"https://github.com/htmlacademy-javascript/105118-kekstagram/pull/12.diff","patch_url":"https://github.com/htmlacademy-javascript/105118-kekstagram/pull/12.patch","issue_url":"https://api.github.com/repos/htmlacademy-javascript/105118-kekstagram/issues/12","number":12,"state":"open","locked":false,"title":"Cookies","user":{"login":"Nesterrr","id":13070803,"avatar_url":"https://avatars.githubusercontent.com/u/13070803?v=3","gravatar_id":"","url":"https://api.github.com/users/Nesterrr","html_url":"https://github.com/Nesterrr","followers_url":"https://api.github.com/users/Nesterrr/followers","following_url":"https://api.github.com/users/Nesterrr/following{/other_user}","gists_url":"https://api.github.com/users/Nesterrr/gists{/gist_id}","starred_url":"https://api.github.com/users/Nesterrr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Nesterrr/subscriptions","organizations_url":"https://api.github.com/users/Nesterrr/orgs","repos_url":"https://api.github.com/users/Nesterrr/repos","events_url":"https://api.github.com/users/Nesterrr/events{/privacy}","received_events_url":"https://api.github.com/users/Nesterrr/received_events","type":"User","site_admin":false},"body":"\n\n--\n:boom: https://htmlacademy-javascript.github.io/105118-kekstagram/12/","created_at":"2016-10-20T14:04:19Z","updated_at":"2016-10-20T20:58:02Z","closed_at":null,"merged_at":null,"merge_commit_sha":"76dcb9932304c264b88c17ac10521bef3b30bb73","assignee":{"login":"princed","id":796050,"avatar_url":"https://avatars.githubusercontent.com/u/796050?v=3","gravatar_id":"","url":"https://api.github.com/users/princed","html_url":"https://github.com/princed","followers_url":"https://api.github.com/users/princed/followers","following_url":"https://api.github.com/users/princed/following{/other_user}","gists_url":"https://api.github.com/users/princed/gists{/gist_id}","starred_url":"https://api.github.com/users/princed/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/princed/subscriptions","organizations_url":"https://api.github.com/users/princed/orgs","repos_url":"https://api.github.com/users/princed/repos","events_url":"https://api.github.com/users/princed/events{/privacy}","received_events_url":"https://api.github.com/users/princed/received_events","type":"User","site_admin":false},"assignees":[{"login":"princed","id":796050,"avatar_url":"https://avatars.githubusercontent.com/u/796050?v=3","gravatar_id":"","url":"https://api.github.com/users/princed","html_url":"https://github.com/princed","followers_url":"https://api.github.com/users/princed/followers","following_url":"https://api.github.com/users/princed/following{/other_user}","gists_url":"https://api.github.com/users/princed/gists{/gist_id}","starred_url":"https://api.github.com/users/princed/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/princed/subscriptions","organizations_url":"https://api.github.com/users/princed/orgs","repos_url":"https://api.github.com/users/princed/repos","events_url":"https://api.github.com/users/princed/events{/privacy}","received_events_url":"https://api.github.com/users/princed/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/htmlacademy-javascript/105118-kekstagram/pulls/12/commits","review_comments_url":"https://api.github.com/repos/htmlacademy-javascript/105118-kekstagram/pulls/12/comments","review_comment_url":"https://api.github.com/repos/htmlacademy-javascript/105118-kekstagram/pulls/comments{/number}","comments_url":"https://api.github.com/repos/htmlacademy-javascript/105118-kekstagram/issues/12/comments","statuses_url":"https://api.github.com/repos/htmlacademy-javascript/105118-kekstagram/statuses/156e1e6a916665a924f885c0951227fff860929b","head":{"label":"Nesterrr:module3-task2","ref":"module3-task2","sha":"156e1e6a916665a924f885c0951227fff860929b","user":{"login":"Nesterrr","id":13070803,"avatar_url":"https://avatars.githubusercontent.com/u/13070803?v=3","gravatar_id":"","url":"https://api.github.com/users/Nesterrr","html_url":"https://github.com/Nesterrr","followers_url":"https://api.github.com/users/Nesterrr/followers","following_url":"https://api.github.com/users/Nesterrr/following{/other_user}","gists_url":"https://api.github.com/users/Nesterrr/gists{/gist_id}","starred_url":"https://api.github.com/users/Nesterrr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Nesterrr/subscriptions","organizations_url":"https://api.github.com/users/Nesterrr/orgs","repos_url":"https://api.github.com/users/Nesterrr/repos","events_url":"https://api.github.com/users/Nesterrr/events{/privacy}","received_events_url":"https://api.github.com/users/Nesterrr/received_events","type":"User","site_admin":false},"repo":{"id":70061661,"name":"105118-kekstagram","full_name":"Nesterrr/105118-kekstagram","owner":{"login":"Nesterrr","id":13070803,"avatar_url":"https://avatars.githubusercontent.com/u/13070803?v=3","gravatar_id":"","url":"https://api.github.com/users/Nesterrr","html_url":"https://github.com/Nesterrr","followers_url":"https://api.github.com/users/Nesterrr/followers","following_url":"https://api.github.com/users/Nesterrr/following{/other_user}","gists_url":"https://api.github.com/users/Nesterrr/gists{/gist_id}","starred_url":"https://api.github.com/users/Nesterrr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Nesterrr/subscriptions","organizations_url":"https://api.github.com/users/Nesterrr/orgs","repos_url":"https://api.github.com/users/Nesterrr/repos","events_url":"https://api.github.com/users/Nesterrr/events{/privacy}","received_events_url":"https://api.github.com/users/Nesterrr/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Nesterrr/105118-kekstagram","description":"Святослав Нестерук","fork":true,"url":"https://api.github.com/repos/Nesterrr/105118-kekstagram","forks_url":"https://api.github.com/repos/Nesterrr/105118-kekstagram/forks","keys_url":"https://api.github.com/repos/Nesterrr/105118-kekstagram/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Nesterrr/105118-kekstagram/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Nesterrr/105118-kekstagram/teams","hooks_url":"https://api.github.com/repos/Nesterrr/105118-kekstagram/hooks","issue_events_url":"https://api.github.com/repos/Nesterrr/105118-kekstagram/issues/events{/number}","events_url":"https://api.github.com/repos/Nesterrr/105118-kekstagram/events","assignees_url":"https://api.github.com/repos/Nesterrr/105118-kekstagram/assignees{/user}","branches_url":"https://api.github.com/repos/Nesterrr/105118-kekstagram/branches{/branch}","tags_url":"https://api.github.com/repos/Nesterrr/105118-kekstagram/tags","blobs_url":"https://api.github.com/repos/Nesterrr/105118-kekstagram/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Nesterrr/105118-kekstagram/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Nesterrr/105118-kekstagram/git/refs{/sha}","trees_url":"https://api.github.com/repos/Nesterrr/105118-kekstagram/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Nesterrr/105118-kekstagram/statuses/{sha}","languages_url":"https://api.github.com/repos/Nesterrr/105118-kekstagram/languages","stargazers_url":"https://api.github.com/repos/Nesterrr/105118-kekstagram/stargazers","contributors_url":"https://api.github.com/repos/Nesterrr/105118-kekstagram/contributors","subscribers_url":"https://api.github.com/repos/Nesterrr/105118-kekstagram/subscribers","subscription_url":"https://api.github.com/repos/Nesterrr/105118-kekstagram/subscription","commits_url":"https://api.github.com/repos/Nesterrr/105118-kekstagram/commits{/sha}","git_commits_url":"https://api.github.com/repos/Nesterrr/105118-kekstagram/git/commits{/sha}","comments_url":"https://api.github.com/repos/Nesterrr/105118-kekstagram/comments{/number}","issue_comment_url":"https://api.github.com/repos/Nesterrr/105118-kekstagram/issues/comments{/number}","contents_url":"https://api.github.com/repos/Nesterrr/105118-kekstagram/contents/{+path}","compare_url":"https://api.github.com/repos/Nesterrr/105118-kekstagram/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Nesterrr/105118-kekstagram/merges","archive_url":"https://api.github.com/repos/Nesterrr/105118-kekstagram/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Nesterrr/105118-kekstagram/downloads","issues_url":"https://api.github.com/repos/Nesterrr/105118-kekstagram/issues{/number}","pulls_url":"https://api.github.com/repos/Nesterrr/105118-kekstagram/pulls{/number}","milestones_url":"https://api.github.com/repos/Nesterrr/105118-kekstagram/milestones{/number}","notifications_url":"https://api.github.com/repos/Nesterrr/105118-kekstagram/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Nesterrr/105118-kekstagram/labels{/name}","releases_url":"https://api.github.com/repos/Nesterrr/105118-kekstagram/releases{/id}","deployments_url":"https://api.github.com/repos/Nesterrr/105118-kekstagram/deployments","created_at":"2016-10-05T13:11:08Z","updated_at":"2016-10-05T13:11:11Z","pushed_at":"2016-10-20T15:16:33Z","git_url":"git://github.com/Nesterrr/105118-kekstagram.git","ssh_url":"git@github.com:Nesterrr/105118-kekstagram.git","clone_url":"https://github.com/Nesterrr/105118-kekstagram.git","svn_url":"https://github.com/Nesterrr/105118-kekstagram","homepage":null,"size":4325,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":false,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"htmlacademy-javascript:master","ref":"master","sha":"225ab66cee4ca4509baf1179f56bb5a3ca0e7454","user":{"login":"htmlacademy-javascript","id":14179712,"avatar_url":"https://avatars.githubusercontent.com/u/14179712?v=3","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":70040911,"name":"105118-kekstagram","full_name":"htmlacademy-javascript/105118-kekstagram","owner":{"login":"htmlacademy-javascript","id":14179712,"avatar_url":"https://avatars.githubusercontent.com/u/14179712?v=3","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/105118-kekstagram","description":"Святослав Нестерук","fork":false,"url":"https://api.github.com/repos/htmlacademy-javascript/105118-kekstagram","forks_url":"https://api.github.com/repos/htmlacademy-javascript/105118-kekstagram/forks","keys_url":"https://api.github.com/repos/htmlacademy-javascript/105118-kekstagram/keys{/key_id}","collaborators_url":"https://api.github.com/repos/htmlacademy-javascript/105118-kekstagram/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/htmlacademy-javascript/105118-kekstagram/teams","hooks_url":"https://api.github.com/repos/htmlacademy-javascript/105118-kekstagram/hooks","issue_events_url":"https://api.github.com/repos/htmlacademy-javascript/105118-kekstagram/issues/events{/number}","events_url":"https://api.github.com/repos/htmlacademy-javascript/105118-kekstagram/events","assignees_url":"https://api.github.com/repos/htmlacademy-javascript/105118-kekstagram/assignees{/user}","branches_url":"https://api.github.com/repos/htmlacademy-javascript/105118-kekstagram/branches{/branch}","tags_url":"https://api.github.com/repos/htmlacademy-javascript/105118-kekstagram/tags","blobs_url":"https://api.github.com/repos/htmlacademy-javascript/105118-kekstagram/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/htmlacademy-javascript/105118-kekstagram/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/htmlacademy-javascript/105118-kekstagram/git/refs{/sha}","trees_url":"https://api.github.com/repos/htmlacademy-javascript/105118-kekstagram/git/trees{/sha}","statuses_url":"https://api.github.com/repos/htmlacademy-javascript/105118-kekstagram/statuses/{sha}","languages_url":"https://api.github.com/repos/htmlacademy-javascript/105118-kekstagram/languages","stargazers_url":"https://api.github.com/repos/htmlacademy-javascript/105118-kekstagram/stargazers","contributors_url":"https://api.github.com/repos/htmlacademy-javascript/105118-kekstagram/contributors","subscribers_url":"https://api.github.com/repos/htmlacademy-javascript/105118-kekstagram/subscribers","subscription_url":"https://api.github.com/repos/htmlacademy-javascript/105118-kekstagram/subscription","commits_url":"https://api.github.com/repos/htmlacademy-javascript/105118-kekstagram/commits{/sha}","git_commits_url":"https://api.github.com/repos/htmlacademy-javascript/105118-kekstagram/git/commits{/sha}","comments_url":"https://api.github.com/repos/htmlacademy-javascript/105118-kekstagram/comments{/number}","issue_comment_url":"https://api.github.com/repos/htmlacademy-javascript/105118-kekstagram/issues/comments{/number}","contents_url":"https://api.github.com/repos/htmlacademy-javascript/105118-kekstagram/contents/{+path}","compare_url":"https://api.github.com/repos/htmlacademy-javascript/105118-kekstagram/compare/{base}...{head}","merges_url":"https://api.github.com/repos/htmlacademy-javascript/105118-kekstagram/merges","archive_url":"https://api.github.com/repos/htmlacademy-javascript/105118-kekstagram/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/htmlacademy-javascript/105118-kekstagram/downloads","issues_url":"https://api.github.com/repos/htmlacademy-javascript/105118-kekstagram/issues{/number}","pulls_url":"https://api.github.com/repos/htmlacademy-javascript/105118-kekstagram/pulls{/number}","milestones_url":"https://api.github.com/repos/htmlacademy-javascript/105118-kekstagram/milestones{/number}","notifications_url":"https://api.github.com/repos/htmlacademy-javascript/105118-kekstagram/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/htmlacademy-javascript/105118-kekstagram/labels{/name}","releases_url":"https://api.github.com/repos/htmlacademy-javascript/105118-kekstagram/releases{/id}","deployments_url":"https://api.github.com/repos/htmlacademy-javascript/105118-kekstagram/deployments","created_at":"2016-10-05T08:04:32Z","updated_at":"2016-10-05T14:46:20Z","pushed_at":"2016-10-20T15:16:34Z","git_url":"git://github.com/htmlacademy-javascript/105118-kekstagram.git","ssh_url":"git@github.com:htmlacademy-javascript/105118-kekstagram.git","clone_url":"https://github.com/htmlacademy-javascript/105118-kekstagram.git","svn_url":"https://github.com/htmlacademy-javascript/105118-kekstagram","homepage":"https://github.com/Nesterrr/105118-kekstagram","size":4387,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":false,"has_wiki":false,"has_pages":true,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/htmlacademy-javascript/105118-kekstagram/pulls/12"},"html":{"href":"https://github.com/htmlacademy-javascript/105118-kekstagram/pull/12"},"issue":{"href":"https://api.github.com/repos/htmlacademy-javascript/105118-kekstagram/issues/12"},"comments":{"href":"https://api.github.com/repos/htmlacademy-javascript/105118-kekstagram/issues/12/comments"},"review_comments":{"href":"https://api.github.com/repos/htmlacademy-javascript/105118-kekstagram/pulls/12/comments"},"review_comment":{"href":"https://api.github.com/repos/htmlacademy-javascript/105118-kekstagram/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/htmlacademy-javascript/105118-kekstagram/pulls/12/commits"},"statuses":{"href":"https://api.github.com/repos/htmlacademy-javascript/105118-kekstagram/statuses/156e1e6a916665a924f885c0951227fff860929b"}}}}
{"actor":{"display_login":"princed"}}