{"action":"created","comment":{"url":"https://api.github.com/repos/FreeCodeCamp/FreeCodeCamp/pulls/comments/50225811","id":50225811,"diff_hunk":"@@ -109,8 +109,10 @@ contents of code editor'>Copy as Plain Code</a>\"></a>`;\n     };\n   }\n \n-  var showPopover = debounce(function() {\n-    if (editor.somethingSelected()) {\n+  var showPopover = debounce(function(e) {\n+    var isCtrlKey = e ? e.ctrlKey : true,\n+    isAltKey = e ? e.altKey : true;\n+    if (editor.somethingSelected() && (isCtrlKey || isAltKey)) {\n       $('#copy-btn-parent').popover('show');","path":"client/commonFramework/create-editor.js","position":10,"original_position":10,"commit_id":"866dd0e0dd79da4b690f69ef5a64e898283f5a34","original_commit_id":"866dd0e0dd79da4b690f69ef5a64e898283f5a34","user":{"login":"bugron","id":13225220,"avatar_url":"https://avatars.githubusercontent.com/u/13225220?v=3","gravatar_id":"","url":"https://api.github.com/users/bugron","html_url":"https://github.com/bugron","followers_url":"https://api.github.com/users/bugron/followers","following_url":"https://api.github.com/users/bugron/following{/other_user}","gists_url":"https://api.github.com/users/bugron/gists{/gist_id}","starred_url":"https://api.github.com/users/bugron/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bugron/subscriptions","organizations_url":"https://api.github.com/users/bugron/orgs","repos_url":"https://api.github.com/users/bugron/repos","events_url":"https://api.github.com/users/bugron/events{/privacy}","received_events_url":"https://api.github.com/users/bugron/received_events","type":"User","site_admin":false},"body":"Will do, thanks.","created_at":"2016-01-20T08:28:15Z","updated_at":"2016-01-20T08:28:15Z","html_url":"https://github.com/FreeCodeCamp/FreeCodeCamp/pull/6320#discussion_r50225811","pull_request_url":"https://api.github.com/repos/FreeCodeCamp/FreeCodeCamp/pulls/6320","_links":{"self":{"href":"https://api.github.com/repos/FreeCodeCamp/FreeCodeCamp/pulls/comments/50225811"},"html":{"href":"https://github.com/FreeCodeCamp/FreeCodeCamp/pull/6320#discussion_r50225811"},"pull_request":{"href":"https://api.github.com/repos/FreeCodeCamp/FreeCodeCamp/pulls/6320"}}},"pull_request":{"url":"https://api.github.com/repos/FreeCodeCamp/FreeCodeCamp/pulls/6320","id":56494732,"html_url":"https://github.com/FreeCodeCamp/FreeCodeCamp/pull/6320","diff_url":"https://github.com/FreeCodeCamp/FreeCodeCamp/pull/6320.diff","patch_url":"https://github.com/FreeCodeCamp/FreeCodeCamp/pull/6320.patch","issue_url":"https://api.github.com/repos/FreeCodeCamp/FreeCodeCamp/issues/6320","number":6320,"state":"open","locked":false,"title":"Show tooltip only when combined with CTRL or ALT key","user":{"login":"bugron","id":13225220,"avatar_url":"https://avatars.githubusercontent.com/u/13225220?v=3","gravatar_id":"","url":"https://api.github.com/users/bugron","html_url":"https://github.com/bugron","followers_url":"https://api.github.com/users/bugron/followers","following_url":"https://api.github.com/users/bugron/following{/other_user}","gists_url":"https://api.github.com/users/bugron/gists{/gist_id}","starred_url":"https://api.github.com/users/bugron/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bugron/subscriptions","organizations_url":"https://api.github.com/users/bugron/orgs","repos_url":"https://api.github.com/users/bugron/repos","events_url":"https://api.github.com/users/bugron/events{/privacy}","received_events_url":"https://api.github.com/users/bugron/received_events","type":"User","site_admin":false},"body":"As per discussion in https://github.com/FreeCodeCamp/FreeCodeCamp/issues/6290. Tested locally.\r\nCloses #6290.","created_at":"2016-01-19T17:02:05Z","updated_at":"2016-01-20T08:28:15Z","closed_at":null,"merged_at":null,"merge_commit_sha":"1e8159f65ebf4d2199e5dc2067a28f8db1ae7d73","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/FreeCodeCamp/FreeCodeCamp/pulls/6320/commits","review_comments_url":"https://api.github.com/repos/FreeCodeCamp/FreeCodeCamp/pulls/6320/comments","review_comment_url":"https://api.github.com/repos/FreeCodeCamp/FreeCodeCamp/pulls/comments{/number}","comments_url":"https://api.github.com/repos/FreeCodeCamp/FreeCodeCamp/issues/6320/comments","statuses_url":"https://api.github.com/repos/FreeCodeCamp/FreeCodeCamp/statuses/866dd0e0dd79da4b690f69ef5a64e898283f5a34","head":{"label":"bugron:fix/tooltip-shiftkey","ref":"fix/tooltip-shiftkey","sha":"866dd0e0dd79da4b690f69ef5a64e898283f5a34","user":{"login":"bugron","id":13225220,"avatar_url":"https://avatars.githubusercontent.com/u/13225220?v=3","gravatar_id":"","url":"https://api.github.com/users/bugron","html_url":"https://github.com/bugron","followers_url":"https://api.github.com/users/bugron/followers","following_url":"https://api.github.com/users/bugron/following{/other_user}","gists_url":"https://api.github.com/users/bugron/gists{/gist_id}","starred_url":"https://api.github.com/users/bugron/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bugron/subscriptions","organizations_url":"https://api.github.com/users/bugron/orgs","repos_url":"https://api.github.com/users/bugron/repos","events_url":"https://api.github.com/users/bugron/events{/privacy}","received_events_url":"https://api.github.com/users/bugron/received_events","type":"User","site_admin":false},"repo":{"id":41158407,"name":"FreeCodeCamp","full_name":"bugron/FreeCodeCamp","owner":{"login":"bugron","id":13225220,"avatar_url":"https://avatars.githubusercontent.com/u/13225220?v=3","gravatar_id":"","url":"https://api.github.com/users/bugron","html_url":"https://github.com/bugron","followers_url":"https://api.github.com/users/bugron/followers","following_url":"https://api.github.com/users/bugron/following{/other_user}","gists_url":"https://api.github.com/users/bugron/gists{/gist_id}","starred_url":"https://api.github.com/users/bugron/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bugron/subscriptions","organizations_url":"https://api.github.com/users/bugron/orgs","repos_url":"https://api.github.com/users/bugron/repos","events_url":"https://api.github.com/users/bugron/events{/privacy}","received_events_url":"https://api.github.com/users/bugron/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/bugron/FreeCodeCamp","description":"The http://FreeCodeCamp.com open-source codebase and curriculum. Practice coding by helping nonprofits.","fork":true,"url":"https://api.github.com/repos/bugron/FreeCodeCamp","forks_url":"https://api.github.com/repos/bugron/FreeCodeCamp/forks","keys_url":"https://api.github.com/repos/bugron/FreeCodeCamp/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bugron/FreeCodeCamp/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bugron/FreeCodeCamp/teams","hooks_url":"https://api.github.com/repos/bugron/FreeCodeCamp/hooks","issue_events_url":"https://api.github.com/repos/bugron/FreeCodeCamp/issues/events{/number}","events_url":"https://api.github.com/repos/bugron/FreeCodeCamp/events","assignees_url":"https://api.github.com/repos/bugron/FreeCodeCamp/assignees{/user}","branches_url":"https://api.github.com/repos/bugron/FreeCodeCamp/branches{/branch}","tags_url":"https://api.github.com/repos/bugron/FreeCodeCamp/tags","blobs_url":"https://api.github.com/repos/bugron/FreeCodeCamp/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bugron/FreeCodeCamp/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bugron/FreeCodeCamp/git/refs{/sha}","trees_url":"https://api.github.com/repos/bugron/FreeCodeCamp/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bugron/FreeCodeCamp/statuses/{sha}","languages_url":"https://api.github.com/repos/bugron/FreeCodeCamp/languages","stargazers_url":"https://api.github.com/repos/bugron/FreeCodeCamp/stargazers","contributors_url":"https://api.github.com/repos/bugron/FreeCodeCamp/contributors","subscribers_url":"https://api.github.com/repos/bugron/FreeCodeCamp/subscribers","subscription_url":"https://api.github.com/repos/bugron/FreeCodeCamp/subscription","commits_url":"https://api.github.com/repos/bugron/FreeCodeCamp/commits{/sha}","git_commits_url":"https://api.github.com/repos/bugron/FreeCodeCamp/git/commits{/sha}","comments_url":"https://api.github.com/repos/bugron/FreeCodeCamp/comments{/number}","issue_comment_url":"https://api.github.com/repos/bugron/FreeCodeCamp/issues/comments{/number}","contents_url":"https://api.github.com/repos/bugron/FreeCodeCamp/contents/{+path}","compare_url":"https://api.github.com/repos/bugron/FreeCodeCamp/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bugron/FreeCodeCamp/merges","archive_url":"https://api.github.com/repos/bugron/FreeCodeCamp/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bugron/FreeCodeCamp/downloads","issues_url":"https://api.github.com/repos/bugron/FreeCodeCamp/issues{/number}","pulls_url":"https://api.github.com/repos/bugron/FreeCodeCamp/pulls{/number}","milestones_url":"https://api.github.com/repos/bugron/FreeCodeCamp/milestones{/number}","notifications_url":"https://api.github.com/repos/bugron/FreeCodeCamp/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bugron/FreeCodeCamp/labels{/name}","releases_url":"https://api.github.com/repos/bugron/FreeCodeCamp/releases{/id}","created_at":"2015-08-21T13:51:46Z","updated_at":"2016-01-11T18:33:03Z","pushed_at":"2016-01-19T17:37:18Z","git_url":"git://github.com/bugron/FreeCodeCamp.git","ssh_url":"git@github.com:bugron/FreeCodeCamp.git","clone_url":"https://github.com/bugron/FreeCodeCamp.git","svn_url":"https://github.com/bugron/FreeCodeCamp","homepage":"","size":21083,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"staging"}},"base":{"label":"FreeCodeCamp:staging","ref":"staging","sha":"f5fa0428a67fdc68d5b9fc55e9da61acb1f48f89","user":{"login":"FreeCodeCamp","id":9892522,"avatar_url":"https://avatars.githubusercontent.com/u/9892522?v=3","gravatar_id":"","url":"https://api.github.com/users/FreeCodeCamp","html_url":"https://github.com/FreeCodeCamp","followers_url":"https://api.github.com/users/FreeCodeCamp/followers","following_url":"https://api.github.com/users/FreeCodeCamp/following{/other_user}","gists_url":"https://api.github.com/users/FreeCodeCamp/gists{/gist_id}","starred_url":"https://api.github.com/users/FreeCodeCamp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FreeCodeCamp/subscriptions","organizations_url":"https://api.github.com/users/FreeCodeCamp/orgs","repos_url":"https://api.github.com/users/FreeCodeCamp/repos","events_url":"https://api.github.com/users/FreeCodeCamp/events{/privacy}","received_events_url":"https://api.github.com/users/FreeCodeCamp/received_events","type":"Organization","site_admin":false},"repo":{"id":28457823,"name":"FreeCodeCamp","full_name":"FreeCodeCamp/FreeCodeCamp","owner":{"login":"FreeCodeCamp","id":9892522,"avatar_url":"https://avatars.githubusercontent.com/u/9892522?v=3","gravatar_id":"","url":"https://api.github.com/users/FreeCodeCamp","html_url":"https://github.com/FreeCodeCamp","followers_url":"https://api.github.com/users/FreeCodeCamp/followers","following_url":"https://api.github.com/users/FreeCodeCamp/following{/other_user}","gists_url":"https://api.github.com/users/FreeCodeCamp/gists{/gist_id}","starred_url":"https://api.github.com/users/FreeCodeCamp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FreeCodeCamp/subscriptions","organizations_url":"https://api.github.com/users/FreeCodeCamp/orgs","repos_url":"https://api.github.com/users/FreeCodeCamp/repos","events_url":"https://api.github.com/users/FreeCodeCamp/events{/privacy}","received_events_url":"https://api.github.com/users/FreeCodeCamp/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/FreeCodeCamp/FreeCodeCamp","description":"The http://FreeCodeCamp.com open source codebase and curriculum. Learn to code and help nonprofits.","fork":false,"url":"https://api.github.com/repos/FreeCodeCamp/FreeCodeCamp","forks_url":"https://api.github.com/repos/FreeCodeCamp/FreeCodeCamp/forks","keys_url":"https://api.github.com/repos/FreeCodeCamp/FreeCodeCamp/keys{/key_id}","collaborators_url":"https://api.github.com/repos/FreeCodeCamp/FreeCodeCamp/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/FreeCodeCamp/FreeCodeCamp/teams","hooks_url":"https://api.github.com/repos/FreeCodeCamp/FreeCodeCamp/hooks","issue_events_url":"https://api.github.com/repos/FreeCodeCamp/FreeCodeCamp/issues/events{/number}","events_url":"https://api.github.com/repos/FreeCodeCamp/FreeCodeCamp/events","assignees_url":"https://api.github.com/repos/FreeCodeCamp/FreeCodeCamp/assignees{/user}","branches_url":"https://api.github.com/repos/FreeCodeCamp/FreeCodeCamp/branches{/branch}","tags_url":"https://api.github.com/repos/FreeCodeCamp/FreeCodeCamp/tags","blobs_url":"https://api.github.com/repos/FreeCodeCamp/FreeCodeCamp/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/FreeCodeCamp/FreeCodeCamp/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/FreeCodeCamp/FreeCodeCamp/git/refs{/sha}","trees_url":"https://api.github.com/repos/FreeCodeCamp/FreeCodeCamp/git/trees{/sha}","statuses_url":"https://api.github.com/repos/FreeCodeCamp/FreeCodeCamp/statuses/{sha}","languages_url":"https://api.github.com/repos/FreeCodeCamp/FreeCodeCamp/languages","stargazers_url":"https://api.github.com/repos/FreeCodeCamp/FreeCodeCamp/stargazers","contributors_url":"https://api.github.com/repos/FreeCodeCamp/FreeCodeCamp/contributors","subscribers_url":"https://api.github.com/repos/FreeCodeCamp/FreeCodeCamp/subscribers","subscription_url":"https://api.github.com/repos/FreeCodeCamp/FreeCodeCamp/subscription","commits_url":"https://api.github.com/repos/FreeCodeCamp/FreeCodeCamp/commits{/sha}","git_commits_url":"https://api.github.com/repos/FreeCodeCamp/FreeCodeCamp/git/commits{/sha}","comments_url":"https://api.github.com/repos/FreeCodeCamp/FreeCodeCamp/comments{/number}","issue_comment_url":"https://api.github.com/repos/FreeCodeCamp/FreeCodeCamp/issues/comments{/number}","contents_url":"https://api.github.com/repos/FreeCodeCamp/FreeCodeCamp/contents/{+path}","compare_url":"https://api.github.com/repos/FreeCodeCamp/FreeCodeCamp/compare/{base}...{head}","merges_url":"https://api.github.com/repos/FreeCodeCamp/FreeCodeCamp/merges","archive_url":"https://api.github.com/repos/FreeCodeCamp/FreeCodeCamp/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/FreeCodeCamp/FreeCodeCamp/downloads","issues_url":"https://api.github.com/repos/FreeCodeCamp/FreeCodeCamp/issues{/number}","pulls_url":"https://api.github.com/repos/FreeCodeCamp/FreeCodeCamp/pulls{/number}","milestones_url":"https://api.github.com/repos/FreeCodeCamp/FreeCodeCamp/milestones{/number}","notifications_url":"https://api.github.com/repos/FreeCodeCamp/FreeCodeCamp/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/FreeCodeCamp/FreeCodeCamp/labels{/name}","releases_url":"https://api.github.com/repos/FreeCodeCamp/FreeCodeCamp/releases{/id}","created_at":"2014-12-24T17:49:19Z","updated_at":"2016-01-20T08:26:28Z","pushed_at":"2016-01-20T07:38:42Z","git_url":"git://github.com/FreeCodeCamp/FreeCodeCamp.git","ssh_url":"git@github.com:FreeCodeCamp/FreeCodeCamp.git","clone_url":"https://github.com/FreeCodeCamp/FreeCodeCamp.git","svn_url":"https://github.com/FreeCodeCamp/FreeCodeCamp","homepage":"","size":31145,"stargazers_count":59821,"watchers_count":59821,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2251,"mirror_url":null,"open_issues_count":243,"forks":2251,"open_issues":243,"watchers":59821,"default_branch":"staging"}},"_links":{"self":{"href":"https://api.github.com/repos/FreeCodeCamp/FreeCodeCamp/pulls/6320"},"html":{"href":"https://github.com/FreeCodeCamp/FreeCodeCamp/pull/6320"},"issue":{"href":"https://api.github.com/repos/FreeCodeCamp/FreeCodeCamp/issues/6320"},"comments":{"href":"https://api.github.com/repos/FreeCodeCamp/FreeCodeCamp/issues/6320/comments"},"review_comments":{"href":"https://api.github.com/repos/FreeCodeCamp/FreeCodeCamp/pulls/6320/comments"},"review_comment":{"href":"https://api.github.com/repos/FreeCodeCamp/FreeCodeCamp/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/FreeCodeCamp/FreeCodeCamp/pulls/6320/commits"},"statuses":{"href":"https://api.github.com/repos/FreeCodeCamp/FreeCodeCamp/statuses/866dd0e0dd79da4b690f69ef5a64e898283f5a34"}}}}