{"action":"opened","issue":{"url":"https://api.github.com/repos/ankeetmaini/collaborative-text-editor/issues/3","repository_url":"https://api.github.com/repos/ankeetmaini/collaborative-text-editor","labels_url":"https://api.github.com/repos/ankeetmaini/collaborative-text-editor/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/ankeetmaini/collaborative-text-editor/issues/3/comments","events_url":"https://api.github.com/repos/ankeetmaini/collaborative-text-editor/issues/3/events","html_url":"https://github.com/ankeetmaini/collaborative-text-editor/issues/3","id":303683286,"number":3,"title":"getElementById being called on a class.","user":{"login":"qcha0s","id":717986,"avatar_url":"https://avatars2.githubusercontent.com/u/717986?v=4","gravatar_id":"","url":"https://api.github.com/users/qcha0s","html_url":"https://github.com/qcha0s","followers_url":"https://api.github.com/users/qcha0s/followers","following_url":"https://api.github.com/users/qcha0s/following{/other_user}","gists_url":"https://api.github.com/users/qcha0s/gists{/gist_id}","starred_url":"https://api.github.com/users/qcha0s/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/qcha0s/subscriptions","organizations_url":"https://api.github.com/users/qcha0s/orgs","repos_url":"https://api.github.com/users/qcha0s/repos","events_url":"https://api.github.com/users/qcha0s/events{/privacy}","received_events_url":"https://api.github.com/users/qcha0s/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-03-09T00:35:01Z","updated_at":"2018-03-09T00:35:01Z","closed_at":null,"author_association":"NONE","body":".js file \r\n`var doc = document.getElementById('doc'); `\r\n\r\n.html file\r\n`<div class=\"doc\">\r\n\t<div class=\"doc__background-ribbon\"></div>\r\n\t<div class=\"doc__text-editor hidden\"></div>\r\n</div>`\r\n\r\n\r\ngetElementById will not work on this, either use getElementsByClassName() or switch the .doc attribute to a #doc attribute. \r\n"}}
{"actor":{"display_login":"qcha0s"}}