{"action":"opened","issue":{"url":"https://api.github.com/repos/vck3000/ProAvalon/issues/14","repository_url":"https://api.github.com/repos/vck3000/ProAvalon","labels_url":"https://api.github.com/repos/vck3000/ProAvalon/issues/14/labels{/name}","comments_url":"https://api.github.com/repos/vck3000/ProAvalon/issues/14/comments","events_url":"https://api.github.com/repos/vck3000/ProAvalon/issues/14/events","html_url":"https://github.com/vck3000/ProAvalon/issues/14","id":357240942,"node_id":"MDU6SXNzdWUzNTcyNDA5NDI=","number":14,"title":"Claim button is visible to people who aren't sitting down","user":{"login":"vck3000","id":42633156,"node_id":"MDQ6VXNlcjQyNjMzMTU2","avatar_url":"https://avatars0.githubusercontent.com/u/42633156?v=4","gravatar_id":"","url":"https://api.github.com/users/vck3000","html_url":"https://github.com/vck3000","followers_url":"https://api.github.com/users/vck3000/followers","following_url":"https://api.github.com/users/vck3000/following{/other_user}","gists_url":"https://api.github.com/users/vck3000/gists{/gist_id}","starred_url":"https://api.github.com/users/vck3000/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vck3000/subscriptions","organizations_url":"https://api.github.com/users/vck3000/orgs","repos_url":"https://api.github.com/users/vck3000/repos","events_url":"https://api.github.com/users/vck3000/events{/privacy}","received_events_url":"https://api.github.com/users/vck3000/received_events","type":"User","site_admin":false},"labels":[{"id":1032794535,"node_id":"MDU6TGFiZWwxMDMyNzk0NTM1","url":"https://api.github.com/repos/vck3000/ProAvalon/labels/enhancement","name":"enhancement","color":"a2eeef","default":true},{"id":1032794537,"node_id":"MDU6TGFiZWwxMDMyNzk0NTM3","url":"https://api.github.com/repos/vck3000/ProAvalon/labels/good%20first%20issue","name":"good first issue","color":"7057ff","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-09-05T13:54:12Z","updated_at":"2018-09-05T13:54:12Z","closed_at":null,"author_association":"OWNER","body":"Simple fix that might take some time...\r\n\r\nClaim button can have a class \"faded\" added to it that will fade it visually. \r\n\r\nThe following code in buttonEventListener2.js will make it only claim when there is no faded class on the button.\r\n`    document.querySelector(\"#claimButton\").addEventListener(\"click\", function () {\r\n    //If the button is not faded, then claim\r\n    if($(\"#claimButton\").hasClass(\"faded\") === false){\r\n        socket.emit(\"claim\", \"\");\r\n    }\r\n});\r\n`\r\nAt all times, when a person isn't sitting down at a table, they should have the button faded.\r\nWhenever a person sits down, the button should be unfaded.\r\n"}}
{"actor":{"display_login":"vck3000"}}