{"action":"created","comment":{"url":"https://api.github.com/repos/neslom/swept-away/pulls/comments/29559373","id":29559373,"diff_hunk":"@@ -3,25 +3,37 @@ $(document).ready(function() {\n   var map = L.mapbox.map('map', 'neslom.a5edca51')\n     .setView([41.854, -87.623], 10);\n \n-  map.touchZoom.disable();\n-  map.scrollWheelZoom.disable();\n+  //map.touchZoom.disable();\n+  //map.scrollWheelZoom.disable();\n \n-  map.featureLayer.on(\"layeradd\", function(e) {\n-    var marker = e.layer;\n-    var ward = marker.feature.properties.WARD;\n+  $(\"#map\").click(function() {\n+    if (!($(\".map-tooltip\").is(\":hidden\"))) {\n+      $(\"#submit\").toggle(\"block\");\n+    } else if ($(\".map-tooltip\").is(\":hidden\")) {\n+      $(\"#submit\").fadeOut();\n+    }\n+  });\n \n-    var popupContent = \"<a href=/street_sweeps/\" + ward + \" remote='true' class='ward-submit'>\" + ward + \"</a>\";\n+  $(\".close\").click(function() {\n+    $(\"#submit\").fadeOut();","path":"app/assets/javascripts/map.js","position":22,"original_position":22,"commit_id":"46145cd2ae8b1e0d4d275fc77ada8d6de20fbbb1","original_commit_id":"46145cd2ae8b1e0d4d275fc77ada8d6de20fbbb1","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":"Mixed double and single quotes.","created_at":"2015-05-03T19:42:56Z","updated_at":"2015-05-03T19:42:56Z","html_url":"https://github.com/neslom/swept-away/pull/7#discussion_r29559373","pull_request_url":"https://api.github.com/repos/neslom/swept-away/pulls/7","_links":{"self":{"href":"https://api.github.com/repos/neslom/swept-away/pulls/comments/29559373"},"html":{"href":"https://github.com/neslom/swept-away/pull/7#discussion_r29559373"},"pull_request":{"href":"https://api.github.com/repos/neslom/swept-away/pulls/7"}}},"pull_request":{"url":"https://api.github.com/repos/neslom/swept-away/pulls/7","id":34606381,"html_url":"https://github.com/neslom/swept-away/pull/7","diff_url":"https://github.com/neslom/swept-away/pull/7.diff","patch_url":"https://github.com/neslom/swept-away/pull/7.patch","issue_url":"https://api.github.com/repos/neslom/swept-away/issues/7","number":7,"state":"open","locked":false,"title":"Map","user":{"login":"neslom","id":8800860,"avatar_url":"https://avatars.githubusercontent.com/u/8800860?v=3","gravatar_id":"","url":"https://api.github.com/users/neslom","html_url":"https://github.com/neslom","followers_url":"https://api.github.com/users/neslom/followers","following_url":"https://api.github.com/users/neslom/following{/other_user}","gists_url":"https://api.github.com/users/neslom/gists{/gist_id}","starred_url":"https://api.github.com/users/neslom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/neslom/subscriptions","organizations_url":"https://api.github.com/users/neslom/orgs","repos_url":"https://api.github.com/users/neslom/repos","events_url":"https://api.github.com/users/neslom/events{/privacy}","received_events_url":"https://api.github.com/users/neslom/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-05-03T19:42:46Z","updated_at":"2015-05-03T19:42:56Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d65f59bada9006ed841bb27bd176d5faaa475c33","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/neslom/swept-away/pulls/7/commits","review_comments_url":"https://api.github.com/repos/neslom/swept-away/pulls/7/comments","review_comment_url":"https://api.github.com/repos/neslom/swept-away/pulls/comments{/number}","comments_url":"https://api.github.com/repos/neslom/swept-away/issues/7/comments","statuses_url":"https://api.github.com/repos/neslom/swept-away/statuses/46145cd2ae8b1e0d4d275fc77ada8d6de20fbbb1","head":{"label":"neslom:map","ref":"map","sha":"46145cd2ae8b1e0d4d275fc77ada8d6de20fbbb1","user":{"login":"neslom","id":8800860,"avatar_url":"https://avatars.githubusercontent.com/u/8800860?v=3","gravatar_id":"","url":"https://api.github.com/users/neslom","html_url":"https://github.com/neslom","followers_url":"https://api.github.com/users/neslom/followers","following_url":"https://api.github.com/users/neslom/following{/other_user}","gists_url":"https://api.github.com/users/neslom/gists{/gist_id}","starred_url":"https://api.github.com/users/neslom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/neslom/subscriptions","organizations_url":"https://api.github.com/users/neslom/orgs","repos_url":"https://api.github.com/users/neslom/repos","events_url":"https://api.github.com/users/neslom/events{/privacy}","received_events_url":"https://api.github.com/users/neslom/received_events","type":"User","site_admin":false},"repo":{"id":34263178,"name":"swept-away","full_name":"neslom/swept-away","owner":{"login":"neslom","id":8800860,"avatar_url":"https://avatars.githubusercontent.com/u/8800860?v=3","gravatar_id":"","url":"https://api.github.com/users/neslom","html_url":"https://github.com/neslom","followers_url":"https://api.github.com/users/neslom/followers","following_url":"https://api.github.com/users/neslom/following{/other_user}","gists_url":"https://api.github.com/users/neslom/gists{/gist_id}","starred_url":"https://api.github.com/users/neslom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/neslom/subscriptions","organizations_url":"https://api.github.com/users/neslom/orgs","repos_url":"https://api.github.com/users/neslom/repos","events_url":"https://api.github.com/users/neslom/events{/privacy}","received_events_url":"https://api.github.com/users/neslom/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/neslom/swept-away","description":"","fork":false,"url":"https://api.github.com/repos/neslom/swept-away","forks_url":"https://api.github.com/repos/neslom/swept-away/forks","keys_url":"https://api.github.com/repos/neslom/swept-away/keys{/key_id}","collaborators_url":"https://api.github.com/repos/neslom/swept-away/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/neslom/swept-away/teams","hooks_url":"https://api.github.com/repos/neslom/swept-away/hooks","issue_events_url":"https://api.github.com/repos/neslom/swept-away/issues/events{/number}","events_url":"https://api.github.com/repos/neslom/swept-away/events","assignees_url":"https://api.github.com/repos/neslom/swept-away/assignees{/user}","branches_url":"https://api.github.com/repos/neslom/swept-away/branches{/branch}","tags_url":"https://api.github.com/repos/neslom/swept-away/tags","blobs_url":"https://api.github.com/repos/neslom/swept-away/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/neslom/swept-away/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/neslom/swept-away/git/refs{/sha}","trees_url":"https://api.github.com/repos/neslom/swept-away/git/trees{/sha}","statuses_url":"https://api.github.com/repos/neslom/swept-away/statuses/{sha}","languages_url":"https://api.github.com/repos/neslom/swept-away/languages","stargazers_url":"https://api.github.com/repos/neslom/swept-away/stargazers","contributors_url":"https://api.github.com/repos/neslom/swept-away/contributors","subscribers_url":"https://api.github.com/repos/neslom/swept-away/subscribers","subscription_url":"https://api.github.com/repos/neslom/swept-away/subscription","commits_url":"https://api.github.com/repos/neslom/swept-away/commits{/sha}","git_commits_url":"https://api.github.com/repos/neslom/swept-away/git/commits{/sha}","comments_url":"https://api.github.com/repos/neslom/swept-away/comments{/number}","issue_comment_url":"https://api.github.com/repos/neslom/swept-away/issues/comments{/number}","contents_url":"https://api.github.com/repos/neslom/swept-away/contents/{+path}","compare_url":"https://api.github.com/repos/neslom/swept-away/compare/{base}...{head}","merges_url":"https://api.github.com/repos/neslom/swept-away/merges","archive_url":"https://api.github.com/repos/neslom/swept-away/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/neslom/swept-away/downloads","issues_url":"https://api.github.com/repos/neslom/swept-away/issues{/number}","pulls_url":"https://api.github.com/repos/neslom/swept-away/pulls{/number}","milestones_url":"https://api.github.com/repos/neslom/swept-away/milestones{/number}","notifications_url":"https://api.github.com/repos/neslom/swept-away/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/neslom/swept-away/labels{/name}","releases_url":"https://api.github.com/repos/neslom/swept-away/releases{/id}","created_at":"2015-04-20T13:50:01Z","updated_at":"2015-05-02T21:57:38Z","pushed_at":"2015-05-03T19:42:47Z","git_url":"git://github.com/neslom/swept-away.git","ssh_url":"git@github.com:neslom/swept-away.git","clone_url":"https://github.com/neslom/swept-away.git","svn_url":"https://github.com/neslom/swept-away","homepage":null,"size":240,"stargazers_count":0,"watchers_count":0,"language":"Ruby","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":"neslom:master","ref":"master","sha":"a9f24ffce6f52523119a295be409c6dd677d79bf","user":{"login":"neslom","id":8800860,"avatar_url":"https://avatars.githubusercontent.com/u/8800860?v=3","gravatar_id":"","url":"https://api.github.com/users/neslom","html_url":"https://github.com/neslom","followers_url":"https://api.github.com/users/neslom/followers","following_url":"https://api.github.com/users/neslom/following{/other_user}","gists_url":"https://api.github.com/users/neslom/gists{/gist_id}","starred_url":"https://api.github.com/users/neslom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/neslom/subscriptions","organizations_url":"https://api.github.com/users/neslom/orgs","repos_url":"https://api.github.com/users/neslom/repos","events_url":"https://api.github.com/users/neslom/events{/privacy}","received_events_url":"https://api.github.com/users/neslom/received_events","type":"User","site_admin":false},"repo":{"id":34263178,"name":"swept-away","full_name":"neslom/swept-away","owner":{"login":"neslom","id":8800860,"avatar_url":"https://avatars.githubusercontent.com/u/8800860?v=3","gravatar_id":"","url":"https://api.github.com/users/neslom","html_url":"https://github.com/neslom","followers_url":"https://api.github.com/users/neslom/followers","following_url":"https://api.github.com/users/neslom/following{/other_user}","gists_url":"https://api.github.com/users/neslom/gists{/gist_id}","starred_url":"https://api.github.com/users/neslom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/neslom/subscriptions","organizations_url":"https://api.github.com/users/neslom/orgs","repos_url":"https://api.github.com/users/neslom/repos","events_url":"https://api.github.com/users/neslom/events{/privacy}","received_events_url":"https://api.github.com/users/neslom/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/neslom/swept-away","description":"","fork":false,"url":"https://api.github.com/repos/neslom/swept-away","forks_url":"https://api.github.com/repos/neslom/swept-away/forks","keys_url":"https://api.github.com/repos/neslom/swept-away/keys{/key_id}","collaborators_url":"https://api.github.com/repos/neslom/swept-away/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/neslom/swept-away/teams","hooks_url":"https://api.github.com/repos/neslom/swept-away/hooks","issue_events_url":"https://api.github.com/repos/neslom/swept-away/issues/events{/number}","events_url":"https://api.github.com/repos/neslom/swept-away/events","assignees_url":"https://api.github.com/repos/neslom/swept-away/assignees{/user}","branches_url":"https://api.github.com/repos/neslom/swept-away/branches{/branch}","tags_url":"https://api.github.com/repos/neslom/swept-away/tags","blobs_url":"https://api.github.com/repos/neslom/swept-away/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/neslom/swept-away/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/neslom/swept-away/git/refs{/sha}","trees_url":"https://api.github.com/repos/neslom/swept-away/git/trees{/sha}","statuses_url":"https://api.github.com/repos/neslom/swept-away/statuses/{sha}","languages_url":"https://api.github.com/repos/neslom/swept-away/languages","stargazers_url":"https://api.github.com/repos/neslom/swept-away/stargazers","contributors_url":"https://api.github.com/repos/neslom/swept-away/contributors","subscribers_url":"https://api.github.com/repos/neslom/swept-away/subscribers","subscription_url":"https://api.github.com/repos/neslom/swept-away/subscription","commits_url":"https://api.github.com/repos/neslom/swept-away/commits{/sha}","git_commits_url":"https://api.github.com/repos/neslom/swept-away/git/commits{/sha}","comments_url":"https://api.github.com/repos/neslom/swept-away/comments{/number}","issue_comment_url":"https://api.github.com/repos/neslom/swept-away/issues/comments{/number}","contents_url":"https://api.github.com/repos/neslom/swept-away/contents/{+path}","compare_url":"https://api.github.com/repos/neslom/swept-away/compare/{base}...{head}","merges_url":"https://api.github.com/repos/neslom/swept-away/merges","archive_url":"https://api.github.com/repos/neslom/swept-away/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/neslom/swept-away/downloads","issues_url":"https://api.github.com/repos/neslom/swept-away/issues{/number}","pulls_url":"https://api.github.com/repos/neslom/swept-away/pulls{/number}","milestones_url":"https://api.github.com/repos/neslom/swept-away/milestones{/number}","notifications_url":"https://api.github.com/repos/neslom/swept-away/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/neslom/swept-away/labels{/name}","releases_url":"https://api.github.com/repos/neslom/swept-away/releases{/id}","created_at":"2015-04-20T13:50:01Z","updated_at":"2015-05-02T21:57:38Z","pushed_at":"2015-05-03T19:42:47Z","git_url":"git://github.com/neslom/swept-away.git","ssh_url":"git@github.com:neslom/swept-away.git","clone_url":"https://github.com/neslom/swept-away.git","svn_url":"https://github.com/neslom/swept-away","homepage":null,"size":240,"stargazers_count":0,"watchers_count":0,"language":"Ruby","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/neslom/swept-away/pulls/7"},"html":{"href":"https://github.com/neslom/swept-away/pull/7"},"issue":{"href":"https://api.github.com/repos/neslom/swept-away/issues/7"},"comments":{"href":"https://api.github.com/repos/neslom/swept-away/issues/7/comments"},"review_comments":{"href":"https://api.github.com/repos/neslom/swept-away/pulls/7/comments"},"review_comment":{"href":"https://api.github.com/repos/neslom/swept-away/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/neslom/swept-away/pulls/7/commits"},"statuses":{"href":"https://api.github.com/repos/neslom/swept-away/statuses/46145cd2ae8b1e0d4d275fc77ada8d6de20fbbb1"}}}}