{"action":"opened","issue":{"url":"https://api.github.com/repos/heatherkemp/heatherkemp.github.io/issues/1","labels_url":"https://api.github.com/repos/heatherkemp/heatherkemp.github.io/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/heatherkemp/heatherkemp.github.io/issues/1/comments","events_url":"https://api.github.com/repos/heatherkemp/heatherkemp.github.io/issues/1/events","html_url":"https://github.com/heatherkemp/heatherkemp.github.io/issues/1","id":95669187,"number":1,"title":"Multiple Clicking Problem ","user":{"login":"heatherkemp","id":12983504,"avatar_url":"https://avatars.githubusercontent.com/u/12983504?v=3","gravatar_id":"","url":"https://api.github.com/users/heatherkemp","html_url":"https://github.com/heatherkemp","followers_url":"https://api.github.com/users/heatherkemp/followers","following_url":"https://api.github.com/users/heatherkemp/following{/other_user}","gists_url":"https://api.github.com/users/heatherkemp/gists{/gist_id}","starred_url":"https://api.github.com/users/heatherkemp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/heatherkemp/subscriptions","organizations_url":"https://api.github.com/users/heatherkemp/orgs","repos_url":"https://api.github.com/users/heatherkemp/repos","events_url":"https://api.github.com/users/heatherkemp/events{/privacy}","received_events_url":"https://api.github.com/users/heatherkemp/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"annarankin","id":11503403,"avatar_url":"https://avatars.githubusercontent.com/u/11503403?v=3","gravatar_id":"","url":"https://api.github.com/users/annarankin","html_url":"https://github.com/annarankin","followers_url":"https://api.github.com/users/annarankin/followers","following_url":"https://api.github.com/users/annarankin/following{/other_user}","gists_url":"https://api.github.com/users/annarankin/gists{/gist_id}","starred_url":"https://api.github.com/users/annarankin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/annarankin/subscriptions","organizations_url":"https://api.github.com/users/annarankin/orgs","repos_url":"https://api.github.com/users/annarankin/repos","events_url":"https://api.github.com/users/annarankin/events{/privacy}","received_events_url":"https://api.github.com/users/annarankin/received_events","type":"User","site_admin":false},"milestone":null,"comments":0,"created_at":"2015-07-17T14:36:51Z","updated_at":"2015-07-17T14:36:51Z","closed_at":null,"body":"I set up a for loop that adds an event listener to each div (which represents the box for the x or o to be applied).  When a user clicks on the box, it checks the currentPlayer variable and then based on that result, it assigns the appropriate letter to the box.  This gets appended inside of an h1 element.\r\nThe problem is that there's currently no logic set up to know whether or not a box has already clicked, so this allows multiple clicks to happen on the same box.  I put together a way to check to see if there's a winner and that actually works, so I am wondering if it's possible to check whether the target element already has an h1 and if it does, not allow any further clicking on it, and if it doesn't, run the next segment of code?  Is this a crazy way to do this?  "}}