{"action":"closed","issue":{"url":"https://api.github.com/repos/peachananr/adaptive-modal/issues/2","repository_url":"https://api.github.com/repos/peachananr/adaptive-modal","labels_url":"https://api.github.com/repos/peachananr/adaptive-modal/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/peachananr/adaptive-modal/issues/2/comments","events_url":"https://api.github.com/repos/peachananr/adaptive-modal/issues/2/events","html_url":"https://github.com/peachananr/adaptive-modal/issues/2","id":36977820,"number":2,"title":"Button disappear when using $.fn.closeModal()","user":{"login":"terkelg","id":2302254,"avatar_url":"https://avatars2.githubusercontent.com/u/2302254?v=4","gravatar_id":"","url":"https://api.github.com/users/terkelg","html_url":"https://github.com/terkelg","followers_url":"https://api.github.com/users/terkelg/followers","following_url":"https://api.github.com/users/terkelg/following{/other_user}","gists_url":"https://api.github.com/users/terkelg/gists{/gist_id}","starred_url":"https://api.github.com/users/terkelg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/terkelg/subscriptions","organizations_url":"https://api.github.com/users/terkelg/orgs","repos_url":"https://api.github.com/users/terkelg/repos","events_url":"https://api.github.com/users/terkelg/events{/privacy}","received_events_url":"https://api.github.com/users/terkelg/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2014-07-02T12:41:25Z","updated_at":"2017-12-13T01:28:27Z","closed_at":"2017-12-13T01:28:27Z","author_association":"NONE","body":"I'm using adoptive-modal to show a menu on a one-page site. I wan't the modal to close when a user click on a link. I'm not sure what the best solution is. I have tried to include the `.am-trigger-close` class on every link. That close the modal, but then the link doesn't work.\n\nI have also tried to trigger `$.fn.closeModal()` when clicking a link. That does work, but the button activating the modal disappear. It get `display: none; visibility: visible;`\n"}}
{"actor":{"display_login":"terkelg"}}