{"action":"created","comment":{"url":"https://api.github.com/repos/fidals/stroyprombeton/pulls/comments/78939835","id":78939835,"diff_hunk":"@@ -93,23 +88,35 @@\n     DOM.$reviewsNavItems\n       .removeClass('active')\n       .eq(reviewID).addClass('active');\n-  };\n+  }\n \n-  function toggleSearchBar() {\n-    if (!DOM.$searchBar.length) return;\n+  /**\n+   * Move searchbar on index page.\n+   * This logic is required cause of banner on index page.\n+   */\n+  function moveSearchBar() {\n+    if (!DOM.$application.length) return;\n     const scrollTop = $(window).scrollTop();\n     const offset = DOM.$application.offset().top - DOM.$nav.height();\n \n+    DOM.$searchBar.css('top', searchbarInitTopValue - scrollTop);\n+\n     if (scrollTop > offset) {\n-      DOM.$searchBar.addClass('active');\n+      DOM.$searchBar.removeClass('searchbar-banner');\n     } else {\n-      DOM.$searchBar.removeClass('active');\n+      DOM.$searchBar.addClass('searchbar-banner');\n     }\n   }\n \n-  const closeModal = () => {\n+  function showBackcallModal(event) {\n+    event.preventDefault();\n+    DOM.$modal.fadeIn();\n+  }\n+\n+  function closeBackcallModal(event) {\n+    event.preventDefault();","path":"front/js/components/main.es6","position":142,"original_position":142,"commit_id":"550e76bef8eabcf2a65b5d3add02c58cc39b2aa8","original_commit_id":"550e76bef8eabcf2a65b5d3add02c58cc39b2aa8","user":{"login":"duker33","id":3526796,"avatar_url":"https://avatars.githubusercontent.com/u/3526796?v=3","gravatar_id":"","url":"https://api.github.com/users/duker33","html_url":"https://github.com/duker33","followers_url":"https://api.github.com/users/duker33/followers","following_url":"https://api.github.com/users/duker33/following{/other_user}","gists_url":"https://api.github.com/users/duker33/gists{/gist_id}","starred_url":"https://api.github.com/users/duker33/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/duker33/subscriptions","organizations_url":"https://api.github.com/users/duker33/orgs","repos_url":"https://api.github.com/users/duker33/repos","events_url":"https://api.github.com/users/duker33/events{/privacy}","received_events_url":"https://api.github.com/users/duker33/received_events","type":"User","site_admin":false},"body":"а зачем здесь и выше preventDefault ?","created_at":"2016-09-15T11:14:38Z","updated_at":"2016-09-15T11:14:38Z","html_url":"https://github.com/fidals/stroyprombeton/pull/12#discussion_r78939835","pull_request_url":"https://api.github.com/repos/fidals/stroyprombeton/pulls/12","_links":{"self":{"href":"https://api.github.com/repos/fidals/stroyprombeton/pulls/comments/78939835"},"html":{"href":"https://github.com/fidals/stroyprombeton/pull/12#discussion_r78939835"},"pull_request":{"href":"https://api.github.com/repos/fidals/stroyprombeton/pulls/12"}}},"pull_request":{"url":"https://api.github.com/repos/fidals/stroyprombeton/pulls/12","id":85380408,"html_url":"https://github.com/fidals/stroyprombeton/pull/12","diff_url":"https://github.com/fidals/stroyprombeton/pull/12.diff","patch_url":"https://github.com/fidals/stroyprombeton/pull/12.patch","issue_url":"https://api.github.com/repos/fidals/stroyprombeton/issues/12","number":12,"state":"open","locked":false,"title":"[ 801 ] Redesign: Catalog + 404","user":{"login":"YozhEzhi","id":2706062,"avatar_url":"https://avatars.githubusercontent.com/u/2706062?v=3","gravatar_id":"","url":"https://api.github.com/users/YozhEzhi","html_url":"https://github.com/YozhEzhi","followers_url":"https://api.github.com/users/YozhEzhi/followers","following_url":"https://api.github.com/users/YozhEzhi/following{/other_user}","gists_url":"https://api.github.com/users/YozhEzhi/gists{/gist_id}","starred_url":"https://api.github.com/users/YozhEzhi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/YozhEzhi/subscriptions","organizations_url":"https://api.github.com/users/YozhEzhi/orgs","repos_url":"https://api.github.com/users/YozhEzhi/repos","events_url":"https://api.github.com/users/YozhEzhi/events{/privacy}","received_events_url":"https://api.github.com/users/YozhEzhi/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-09-15T10:36:02Z","updated_at":"2016-09-15T11:39:18Z","closed_at":null,"merged_at":null,"merge_commit_sha":"dc33b5e75201294ad272994215229e39f038b9bf","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/fidals/stroyprombeton/pulls/12/commits","review_comments_url":"https://api.github.com/repos/fidals/stroyprombeton/pulls/12/comments","review_comment_url":"https://api.github.com/repos/fidals/stroyprombeton/pulls/comments{/number}","comments_url":"https://api.github.com/repos/fidals/stroyprombeton/issues/12/comments","statuses_url":"https://api.github.com/repos/fidals/stroyprombeton/statuses/550e76bef8eabcf2a65b5d3add02c58cc39b2aa8","head":{"label":"fidals:f-801_catalog","ref":"f-801_catalog","sha":"550e76bef8eabcf2a65b5d3add02c58cc39b2aa8","user":{"login":"fidals","id":16228604,"avatar_url":"https://avatars.githubusercontent.com/u/16228604?v=3","gravatar_id":"","url":"https://api.github.com/users/fidals","html_url":"https://github.com/fidals","followers_url":"https://api.github.com/users/fidals/followers","following_url":"https://api.github.com/users/fidals/following{/other_user}","gists_url":"https://api.github.com/users/fidals/gists{/gist_id}","starred_url":"https://api.github.com/users/fidals/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fidals/subscriptions","organizations_url":"https://api.github.com/users/fidals/orgs","repos_url":"https://api.github.com/users/fidals/repos","events_url":"https://api.github.com/users/fidals/events{/privacy}","received_events_url":"https://api.github.com/users/fidals/received_events","type":"Organization","site_admin":false},"repo":{"id":62544799,"name":"stroyprombeton","full_name":"fidals/stroyprombeton","owner":{"login":"fidals","id":16228604,"avatar_url":"https://avatars.githubusercontent.com/u/16228604?v=3","gravatar_id":"","url":"https://api.github.com/users/fidals","html_url":"https://github.com/fidals","followers_url":"https://api.github.com/users/fidals/followers","following_url":"https://api.github.com/users/fidals/following{/other_user}","gists_url":"https://api.github.com/users/fidals/gists{/gist_id}","starred_url":"https://api.github.com/users/fidals/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fidals/subscriptions","organizations_url":"https://api.github.com/users/fidals/orgs","repos_url":"https://api.github.com/users/fidals/repos","events_url":"https://api.github.com/users/fidals/events{/privacy}","received_events_url":"https://api.github.com/users/fidals/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/fidals/stroyprombeton","description":null,"fork":false,"url":"https://api.github.com/repos/fidals/stroyprombeton","forks_url":"https://api.github.com/repos/fidals/stroyprombeton/forks","keys_url":"https://api.github.com/repos/fidals/stroyprombeton/keys{/key_id}","collaborators_url":"https://api.github.com/repos/fidals/stroyprombeton/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/fidals/stroyprombeton/teams","hooks_url":"https://api.github.com/repos/fidals/stroyprombeton/hooks","issue_events_url":"https://api.github.com/repos/fidals/stroyprombeton/issues/events{/number}","events_url":"https://api.github.com/repos/fidals/stroyprombeton/events","assignees_url":"https://api.github.com/repos/fidals/stroyprombeton/assignees{/user}","branches_url":"https://api.github.com/repos/fidals/stroyprombeton/branches{/branch}","tags_url":"https://api.github.com/repos/fidals/stroyprombeton/tags","blobs_url":"https://api.github.com/repos/fidals/stroyprombeton/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/fidals/stroyprombeton/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/fidals/stroyprombeton/git/refs{/sha}","trees_url":"https://api.github.com/repos/fidals/stroyprombeton/git/trees{/sha}","statuses_url":"https://api.github.com/repos/fidals/stroyprombeton/statuses/{sha}","languages_url":"https://api.github.com/repos/fidals/stroyprombeton/languages","stargazers_url":"https://api.github.com/repos/fidals/stroyprombeton/stargazers","contributors_url":"https://api.github.com/repos/fidals/stroyprombeton/contributors","subscribers_url":"https://api.github.com/repos/fidals/stroyprombeton/subscribers","subscription_url":"https://api.github.com/repos/fidals/stroyprombeton/subscription","commits_url":"https://api.github.com/repos/fidals/stroyprombeton/commits{/sha}","git_commits_url":"https://api.github.com/repos/fidals/stroyprombeton/git/commits{/sha}","comments_url":"https://api.github.com/repos/fidals/stroyprombeton/comments{/number}","issue_comment_url":"https://api.github.com/repos/fidals/stroyprombeton/issues/comments{/number}","contents_url":"https://api.github.com/repos/fidals/stroyprombeton/contents/{+path}","compare_url":"https://api.github.com/repos/fidals/stroyprombeton/compare/{base}...{head}","merges_url":"https://api.github.com/repos/fidals/stroyprombeton/merges","archive_url":"https://api.github.com/repos/fidals/stroyprombeton/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/fidals/stroyprombeton/downloads","issues_url":"https://api.github.com/repos/fidals/stroyprombeton/issues{/number}","pulls_url":"https://api.github.com/repos/fidals/stroyprombeton/pulls{/number}","milestones_url":"https://api.github.com/repos/fidals/stroyprombeton/milestones{/number}","notifications_url":"https://api.github.com/repos/fidals/stroyprombeton/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/fidals/stroyprombeton/labels{/name}","releases_url":"https://api.github.com/repos/fidals/stroyprombeton/releases{/id}","deployments_url":"https://api.github.com/repos/fidals/stroyprombeton/deployments","created_at":"2016-07-04T08:24:41Z","updated_at":"2016-07-07T09:32:27Z","pushed_at":"2016-09-15T10:36:02Z","git_url":"git://github.com/fidals/stroyprombeton.git","ssh_url":"git@github.com:fidals/stroyprombeton.git","clone_url":"https://github.com/fidals/stroyprombeton.git","svn_url":"https://github.com/fidals/stroyprombeton","homepage":null,"size":5114,"stargazers_count":0,"watchers_count":0,"language":"HTML","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"fidals:fresh_design","ref":"fresh_design","sha":"9bdd63cf8427bd0b9ccde31a2e2e017d1eb2ebfe","user":{"login":"fidals","id":16228604,"avatar_url":"https://avatars.githubusercontent.com/u/16228604?v=3","gravatar_id":"","url":"https://api.github.com/users/fidals","html_url":"https://github.com/fidals","followers_url":"https://api.github.com/users/fidals/followers","following_url":"https://api.github.com/users/fidals/following{/other_user}","gists_url":"https://api.github.com/users/fidals/gists{/gist_id}","starred_url":"https://api.github.com/users/fidals/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fidals/subscriptions","organizations_url":"https://api.github.com/users/fidals/orgs","repos_url":"https://api.github.com/users/fidals/repos","events_url":"https://api.github.com/users/fidals/events{/privacy}","received_events_url":"https://api.github.com/users/fidals/received_events","type":"Organization","site_admin":false},"repo":{"id":62544799,"name":"stroyprombeton","full_name":"fidals/stroyprombeton","owner":{"login":"fidals","id":16228604,"avatar_url":"https://avatars.githubusercontent.com/u/16228604?v=3","gravatar_id":"","url":"https://api.github.com/users/fidals","html_url":"https://github.com/fidals","followers_url":"https://api.github.com/users/fidals/followers","following_url":"https://api.github.com/users/fidals/following{/other_user}","gists_url":"https://api.github.com/users/fidals/gists{/gist_id}","starred_url":"https://api.github.com/users/fidals/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fidals/subscriptions","organizations_url":"https://api.github.com/users/fidals/orgs","repos_url":"https://api.github.com/users/fidals/repos","events_url":"https://api.github.com/users/fidals/events{/privacy}","received_events_url":"https://api.github.com/users/fidals/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/fidals/stroyprombeton","description":null,"fork":false,"url":"https://api.github.com/repos/fidals/stroyprombeton","forks_url":"https://api.github.com/repos/fidals/stroyprombeton/forks","keys_url":"https://api.github.com/repos/fidals/stroyprombeton/keys{/key_id}","collaborators_url":"https://api.github.com/repos/fidals/stroyprombeton/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/fidals/stroyprombeton/teams","hooks_url":"https://api.github.com/repos/fidals/stroyprombeton/hooks","issue_events_url":"https://api.github.com/repos/fidals/stroyprombeton/issues/events{/number}","events_url":"https://api.github.com/repos/fidals/stroyprombeton/events","assignees_url":"https://api.github.com/repos/fidals/stroyprombeton/assignees{/user}","branches_url":"https://api.github.com/repos/fidals/stroyprombeton/branches{/branch}","tags_url":"https://api.github.com/repos/fidals/stroyprombeton/tags","blobs_url":"https://api.github.com/repos/fidals/stroyprombeton/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/fidals/stroyprombeton/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/fidals/stroyprombeton/git/refs{/sha}","trees_url":"https://api.github.com/repos/fidals/stroyprombeton/git/trees{/sha}","statuses_url":"https://api.github.com/repos/fidals/stroyprombeton/statuses/{sha}","languages_url":"https://api.github.com/repos/fidals/stroyprombeton/languages","stargazers_url":"https://api.github.com/repos/fidals/stroyprombeton/stargazers","contributors_url":"https://api.github.com/repos/fidals/stroyprombeton/contributors","subscribers_url":"https://api.github.com/repos/fidals/stroyprombeton/subscribers","subscription_url":"https://api.github.com/repos/fidals/stroyprombeton/subscription","commits_url":"https://api.github.com/repos/fidals/stroyprombeton/commits{/sha}","git_commits_url":"https://api.github.com/repos/fidals/stroyprombeton/git/commits{/sha}","comments_url":"https://api.github.com/repos/fidals/stroyprombeton/comments{/number}","issue_comment_url":"https://api.github.com/repos/fidals/stroyprombeton/issues/comments{/number}","contents_url":"https://api.github.com/repos/fidals/stroyprombeton/contents/{+path}","compare_url":"https://api.github.com/repos/fidals/stroyprombeton/compare/{base}...{head}","merges_url":"https://api.github.com/repos/fidals/stroyprombeton/merges","archive_url":"https://api.github.com/repos/fidals/stroyprombeton/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/fidals/stroyprombeton/downloads","issues_url":"https://api.github.com/repos/fidals/stroyprombeton/issues{/number}","pulls_url":"https://api.github.com/repos/fidals/stroyprombeton/pulls{/number}","milestones_url":"https://api.github.com/repos/fidals/stroyprombeton/milestones{/number}","notifications_url":"https://api.github.com/repos/fidals/stroyprombeton/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/fidals/stroyprombeton/labels{/name}","releases_url":"https://api.github.com/repos/fidals/stroyprombeton/releases{/id}","deployments_url":"https://api.github.com/repos/fidals/stroyprombeton/deployments","created_at":"2016-07-04T08:24:41Z","updated_at":"2016-07-07T09:32:27Z","pushed_at":"2016-09-15T10:36:02Z","git_url":"git://github.com/fidals/stroyprombeton.git","ssh_url":"git@github.com:fidals/stroyprombeton.git","clone_url":"https://github.com/fidals/stroyprombeton.git","svn_url":"https://github.com/fidals/stroyprombeton","homepage":null,"size":5114,"stargazers_count":0,"watchers_count":0,"language":"HTML","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/fidals/stroyprombeton/pulls/12"},"html":{"href":"https://github.com/fidals/stroyprombeton/pull/12"},"issue":{"href":"https://api.github.com/repos/fidals/stroyprombeton/issues/12"},"comments":{"href":"https://api.github.com/repos/fidals/stroyprombeton/issues/12/comments"},"review_comments":{"href":"https://api.github.com/repos/fidals/stroyprombeton/pulls/12/comments"},"review_comment":{"href":"https://api.github.com/repos/fidals/stroyprombeton/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/fidals/stroyprombeton/pulls/12/commits"},"statuses":{"href":"https://api.github.com/repos/fidals/stroyprombeton/statuses/550e76bef8eabcf2a65b5d3add02c58cc39b2aa8"}}}}
{"actor":{"display_login":"duker33"}}