{"action":"created","comment":{"url":"https://api.github.com/repos/18F/fec-style/pulls/comments/41415257","id":41415257,"diff_hunk":"@@ -66,7 +66,7 @@ Dropdown.prototype.handleClickAway = function(e) {\n \n Dropdown.prototype.handleFocusAway = function(e) {\n   var $target = $(e.target);\n-  if (this.isOpen && !this.$panel.has($target).length) {\n+  if (this.isOpen && !this.$panel.has($target).length && !$target.is(this.$button)) {","path":"js/dropdowns.js","position":5,"original_position":5,"commit_id":"dcc555731a4e7708be539fe7a4527707bffddb85","original_commit_id":"dcc555731a4e7708be539fe7a4527707bffddb85","user":{"login":"houndci","id":6697940,"avatar_url":"https://avatars.githubusercontent.com/u/6697940?v=3","gravatar_id":"","url":"https://api.github.com/users/houndci","html_url":"https://github.com/houndci","followers_url":"https://api.github.com/users/houndci/followers","following_url":"https://api.github.com/users/houndci/following{/other_user}","gists_url":"https://api.github.com/users/houndci/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci/subscriptions","organizations_url":"https://api.github.com/users/houndci/orgs","repos_url":"https://api.github.com/users/houndci/repos","events_url":"https://api.github.com/users/houndci/events{/privacy}","received_events_url":"https://api.github.com/users/houndci/received_events","type":"User","site_admin":false},"body":"Line is too long.","created_at":"2015-10-07T16:51:19Z","updated_at":"2015-10-07T16:51:19Z","html_url":"https://github.com/18F/fec-style/pull/134#discussion_r41415257","pull_request_url":"https://api.github.com/repos/18F/fec-style/pulls/134","_links":{"self":{"href":"https://api.github.com/repos/18F/fec-style/pulls/comments/41415257"},"html":{"href":"https://github.com/18F/fec-style/pull/134#discussion_r41415257"},"pull_request":{"href":"https://api.github.com/repos/18F/fec-style/pulls/134"}}},"pull_request":{"url":"https://api.github.com/repos/18F/fec-style/pulls/134","id":47052778,"html_url":"https://github.com/18F/fec-style/pull/134","diff_url":"https://github.com/18F/fec-style/pull/134.diff","patch_url":"https://github.com/18F/fec-style/pull/134.patch","issue_url":"https://api.github.com/repos/18F/fec-style/issues/134","number":134,"state":"open","locked":false,"title":"Dropdown improvement","user":{"login":"noahmanger","id":1696495,"avatar_url":"https://avatars.githubusercontent.com/u/1696495?v=3","gravatar_id":"","url":"https://api.github.com/users/noahmanger","html_url":"https://github.com/noahmanger","followers_url":"https://api.github.com/users/noahmanger/followers","following_url":"https://api.github.com/users/noahmanger/following{/other_user}","gists_url":"https://api.github.com/users/noahmanger/gists{/gist_id}","starred_url":"https://api.github.com/users/noahmanger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/noahmanger/subscriptions","organizations_url":"https://api.github.com/users/noahmanger/orgs","repos_url":"https://api.github.com/users/noahmanger/repos","events_url":"https://api.github.com/users/noahmanger/events{/privacy}","received_events_url":"https://api.github.com/users/noahmanger/received_events","type":"User","site_admin":false},"body":"Previously, if you opened the dropdown and then clicked on the button again, it would stay open. This patch fixes that so now why you click on the button again it closes (and it still closes if you focus away from the dropdown or click somewhere else on the page).","created_at":"2015-10-07T16:51:13Z","updated_at":"2015-10-07T16:51:19Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0d33a5384e34c76cd9c94f8f4444ab2f32c54219","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/18F/fec-style/pulls/134/commits","review_comments_url":"https://api.github.com/repos/18F/fec-style/pulls/134/comments","review_comment_url":"https://api.github.com/repos/18F/fec-style/pulls/comments{/number}","comments_url":"https://api.github.com/repos/18F/fec-style/issues/134/comments","statuses_url":"https://api.github.com/repos/18F/fec-style/statuses/dcc555731a4e7708be539fe7a4527707bffddb85","head":{"label":"18F:dropdown-toggle","ref":"dropdown-toggle","sha":"dcc555731a4e7708be539fe7a4527707bffddb85","user":{"login":"18F","id":6233994,"avatar_url":"https://avatars.githubusercontent.com/u/6233994?v=3","gravatar_id":"","url":"https://api.github.com/users/18F","html_url":"https://github.com/18F","followers_url":"https://api.github.com/users/18F/followers","following_url":"https://api.github.com/users/18F/following{/other_user}","gists_url":"https://api.github.com/users/18F/gists{/gist_id}","starred_url":"https://api.github.com/users/18F/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/18F/subscriptions","organizations_url":"https://api.github.com/users/18F/orgs","repos_url":"https://api.github.com/users/18F/repos","events_url":"https://api.github.com/users/18F/events{/privacy}","received_events_url":"https://api.github.com/users/18F/received_events","type":"Organization","site_admin":false},"repo":{"id":40519462,"name":"fec-style","full_name":"18F/fec-style","owner":{"login":"18F","id":6233994,"avatar_url":"https://avatars.githubusercontent.com/u/6233994?v=3","gravatar_id":"","url":"https://api.github.com/users/18F","html_url":"https://github.com/18F","followers_url":"https://api.github.com/users/18F/followers","following_url":"https://api.github.com/users/18F/following{/other_user}","gists_url":"https://api.github.com/users/18F/gists{/gist_id}","starred_url":"https://api.github.com/users/18F/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/18F/subscriptions","organizations_url":"https://api.github.com/users/18F/orgs","repos_url":"https://api.github.com/users/18F/repos","events_url":"https://api.github.com/users/18F/events{/privacy}","received_events_url":"https://api.github.com/users/18F/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/18F/fec-style","description":"Shared styles for 18F's FEC work","fork":false,"url":"https://api.github.com/repos/18F/fec-style","forks_url":"https://api.github.com/repos/18F/fec-style/forks","keys_url":"https://api.github.com/repos/18F/fec-style/keys{/key_id}","collaborators_url":"https://api.github.com/repos/18F/fec-style/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/18F/fec-style/teams","hooks_url":"https://api.github.com/repos/18F/fec-style/hooks","issue_events_url":"https://api.github.com/repos/18F/fec-style/issues/events{/number}","events_url":"https://api.github.com/repos/18F/fec-style/events","assignees_url":"https://api.github.com/repos/18F/fec-style/assignees{/user}","branches_url":"https://api.github.com/repos/18F/fec-style/branches{/branch}","tags_url":"https://api.github.com/repos/18F/fec-style/tags","blobs_url":"https://api.github.com/repos/18F/fec-style/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/18F/fec-style/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/18F/fec-style/git/refs{/sha}","trees_url":"https://api.github.com/repos/18F/fec-style/git/trees{/sha}","statuses_url":"https://api.github.com/repos/18F/fec-style/statuses/{sha}","languages_url":"https://api.github.com/repos/18F/fec-style/languages","stargazers_url":"https://api.github.com/repos/18F/fec-style/stargazers","contributors_url":"https://api.github.com/repos/18F/fec-style/contributors","subscribers_url":"https://api.github.com/repos/18F/fec-style/subscribers","subscription_url":"https://api.github.com/repos/18F/fec-style/subscription","commits_url":"https://api.github.com/repos/18F/fec-style/commits{/sha}","git_commits_url":"https://api.github.com/repos/18F/fec-style/git/commits{/sha}","comments_url":"https://api.github.com/repos/18F/fec-style/comments{/number}","issue_comment_url":"https://api.github.com/repos/18F/fec-style/issues/comments{/number}","contents_url":"https://api.github.com/repos/18F/fec-style/contents/{+path}","compare_url":"https://api.github.com/repos/18F/fec-style/compare/{base}...{head}","merges_url":"https://api.github.com/repos/18F/fec-style/merges","archive_url":"https://api.github.com/repos/18F/fec-style/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/18F/fec-style/downloads","issues_url":"https://api.github.com/repos/18F/fec-style/issues{/number}","pulls_url":"https://api.github.com/repos/18F/fec-style/pulls{/number}","milestones_url":"https://api.github.com/repos/18F/fec-style/milestones{/number}","notifications_url":"https://api.github.com/repos/18F/fec-style/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/18F/fec-style/labels{/name}","releases_url":"https://api.github.com/repos/18F/fec-style/releases{/id}","created_at":"2015-08-11T03:32:31Z","updated_at":"2015-08-19T20:26:44Z","pushed_at":"2015-10-07T16:51:14Z","git_url":"git://github.com/18F/fec-style.git","ssh_url":"git@github.com:18F/fec-style.git","clone_url":"https://github.com/18F/fec-style.git","svn_url":"https://github.com/18F/fec-style","homepage":"","size":5970,"stargazers_count":0,"watchers_count":0,"language":"CSS","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":8,"forks":1,"open_issues":8,"watchers":0,"default_branch":"master"}},"base":{"label":"18F:master","ref":"master","sha":"3cd3b1031300f972742bda44858f32411f1e8775","user":{"login":"18F","id":6233994,"avatar_url":"https://avatars.githubusercontent.com/u/6233994?v=3","gravatar_id":"","url":"https://api.github.com/users/18F","html_url":"https://github.com/18F","followers_url":"https://api.github.com/users/18F/followers","following_url":"https://api.github.com/users/18F/following{/other_user}","gists_url":"https://api.github.com/users/18F/gists{/gist_id}","starred_url":"https://api.github.com/users/18F/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/18F/subscriptions","organizations_url":"https://api.github.com/users/18F/orgs","repos_url":"https://api.github.com/users/18F/repos","events_url":"https://api.github.com/users/18F/events{/privacy}","received_events_url":"https://api.github.com/users/18F/received_events","type":"Organization","site_admin":false},"repo":{"id":40519462,"name":"fec-style","full_name":"18F/fec-style","owner":{"login":"18F","id":6233994,"avatar_url":"https://avatars.githubusercontent.com/u/6233994?v=3","gravatar_id":"","url":"https://api.github.com/users/18F","html_url":"https://github.com/18F","followers_url":"https://api.github.com/users/18F/followers","following_url":"https://api.github.com/users/18F/following{/other_user}","gists_url":"https://api.github.com/users/18F/gists{/gist_id}","starred_url":"https://api.github.com/users/18F/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/18F/subscriptions","organizations_url":"https://api.github.com/users/18F/orgs","repos_url":"https://api.github.com/users/18F/repos","events_url":"https://api.github.com/users/18F/events{/privacy}","received_events_url":"https://api.github.com/users/18F/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/18F/fec-style","description":"Shared styles for 18F's FEC work","fork":false,"url":"https://api.github.com/repos/18F/fec-style","forks_url":"https://api.github.com/repos/18F/fec-style/forks","keys_url":"https://api.github.com/repos/18F/fec-style/keys{/key_id}","collaborators_url":"https://api.github.com/repos/18F/fec-style/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/18F/fec-style/teams","hooks_url":"https://api.github.com/repos/18F/fec-style/hooks","issue_events_url":"https://api.github.com/repos/18F/fec-style/issues/events{/number}","events_url":"https://api.github.com/repos/18F/fec-style/events","assignees_url":"https://api.github.com/repos/18F/fec-style/assignees{/user}","branches_url":"https://api.github.com/repos/18F/fec-style/branches{/branch}","tags_url":"https://api.github.com/repos/18F/fec-style/tags","blobs_url":"https://api.github.com/repos/18F/fec-style/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/18F/fec-style/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/18F/fec-style/git/refs{/sha}","trees_url":"https://api.github.com/repos/18F/fec-style/git/trees{/sha}","statuses_url":"https://api.github.com/repos/18F/fec-style/statuses/{sha}","languages_url":"https://api.github.com/repos/18F/fec-style/languages","stargazers_url":"https://api.github.com/repos/18F/fec-style/stargazers","contributors_url":"https://api.github.com/repos/18F/fec-style/contributors","subscribers_url":"https://api.github.com/repos/18F/fec-style/subscribers","subscription_url":"https://api.github.com/repos/18F/fec-style/subscription","commits_url":"https://api.github.com/repos/18F/fec-style/commits{/sha}","git_commits_url":"https://api.github.com/repos/18F/fec-style/git/commits{/sha}","comments_url":"https://api.github.com/repos/18F/fec-style/comments{/number}","issue_comment_url":"https://api.github.com/repos/18F/fec-style/issues/comments{/number}","contents_url":"https://api.github.com/repos/18F/fec-style/contents/{+path}","compare_url":"https://api.github.com/repos/18F/fec-style/compare/{base}...{head}","merges_url":"https://api.github.com/repos/18F/fec-style/merges","archive_url":"https://api.github.com/repos/18F/fec-style/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/18F/fec-style/downloads","issues_url":"https://api.github.com/repos/18F/fec-style/issues{/number}","pulls_url":"https://api.github.com/repos/18F/fec-style/pulls{/number}","milestones_url":"https://api.github.com/repos/18F/fec-style/milestones{/number}","notifications_url":"https://api.github.com/repos/18F/fec-style/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/18F/fec-style/labels{/name}","releases_url":"https://api.github.com/repos/18F/fec-style/releases{/id}","created_at":"2015-08-11T03:32:31Z","updated_at":"2015-08-19T20:26:44Z","pushed_at":"2015-10-07T16:51:14Z","git_url":"git://github.com/18F/fec-style.git","ssh_url":"git@github.com:18F/fec-style.git","clone_url":"https://github.com/18F/fec-style.git","svn_url":"https://github.com/18F/fec-style","homepage":"","size":5970,"stargazers_count":0,"watchers_count":0,"language":"CSS","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":8,"forks":1,"open_issues":8,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/18F/fec-style/pulls/134"},"html":{"href":"https://github.com/18F/fec-style/pull/134"},"issue":{"href":"https://api.github.com/repos/18F/fec-style/issues/134"},"comments":{"href":"https://api.github.com/repos/18F/fec-style/issues/134/comments"},"review_comments":{"href":"https://api.github.com/repos/18F/fec-style/pulls/134/comments"},"review_comment":{"href":"https://api.github.com/repos/18F/fec-style/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/18F/fec-style/pulls/134/commits"},"statuses":{"href":"https://api.github.com/repos/18F/fec-style/statuses/dcc555731a4e7708be539fe7a4527707bffddb85"}}}}