{"action":"opened","issue":{"url":"https://api.github.com/repos/AmadeusDeadDmytro/myCodes/issues/1","repository_url":"https://api.github.com/repos/AmadeusDeadDmytro/myCodes","labels_url":"https://api.github.com/repos/AmadeusDeadDmytro/myCodes/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/AmadeusDeadDmytro/myCodes/issues/1/comments","events_url":"https://api.github.com/repos/AmadeusDeadDmytro/myCodes/issues/1/events","html_url":"https://github.com/AmadeusDeadDmytro/myCodes/issues/1","id":318374848,"number":1,"title":"Выпадающий список vol. 1","user":{"login":"AmadeusDeadDmytro","id":38785167,"avatar_url":"https://avatars1.githubusercontent.com/u/38785167?v=4","gravatar_id":"","url":"https://api.github.com/users/AmadeusDeadDmytro","html_url":"https://github.com/AmadeusDeadDmytro","followers_url":"https://api.github.com/users/AmadeusDeadDmytro/followers","following_url":"https://api.github.com/users/AmadeusDeadDmytro/following{/other_user}","gists_url":"https://api.github.com/users/AmadeusDeadDmytro/gists{/gist_id}","starred_url":"https://api.github.com/users/AmadeusDeadDmytro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AmadeusDeadDmytro/subscriptions","organizations_url":"https://api.github.com/users/AmadeusDeadDmytro/orgs","repos_url":"https://api.github.com/users/AmadeusDeadDmytro/repos","events_url":"https://api.github.com/users/AmadeusDeadDmytro/events{/privacy}","received_events_url":"https://api.github.com/users/AmadeusDeadDmytro/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-04-27T11:30:46Z","updated_at":"2018-04-27T11:30:46Z","closed_at":null,"author_association":"OWNER","body":"document.querySelector('.category-1-items').style.display = 'block';\r\ndocument.querySelector('.category-btn-1').textContent = '-';\r\ndocument.querySelector('.category-2-items').style.display = 'none';\r\n\r\n$(document).ready(function(){\r\n    $(\".category-btn\").on(\"click\" , function () {\r\n        var ama_btn = $(this).parent().next(\"ul\");\r\n        console.log(1);\r\n        if(!$(ama_btn).is(\":visible\")){\r\n            $(ama_btn).css(\"display\", \"block\")\r\n            $(this).text(\"-\");\r\n            console.log(2);\r\n        } else{\r\n            $(ama_btn).css(\"display\", \"none\")\r\n            $(this).text(\"+\");\r\n            console.log(3);\r\n        } \r\n    });\r\n});"}}
{"actor":{"display_login":"AmadeusDeadDmytro"}}