{"action":"created","issue":{"url":"https://api.github.com/repos/Mango/slideout/issues/42","labels_url":"https://api.github.com/repos/Mango/slideout/issues/42/labels{/name}","comments_url":"https://api.github.com/repos/Mango/slideout/issues/42/comments","events_url":"https://api.github.com/repos/Mango/slideout/issues/42/events","html_url":"https://github.com/Mango/slideout/issues/42","id":63072481,"number":42,"title":"Slideout visible at the tops of clicked link","user":{"login":"almcaffee","id":7851095,"avatar_url":"https://avatars.githubusercontent.com/u/7851095?v=3","gravatar_id":"","url":"https://api.github.com/users/almcaffee","html_url":"https://github.com/almcaffee","followers_url":"https://api.github.com/users/almcaffee/followers","following_url":"https://api.github.com/users/almcaffee/following{/other_user}","gists_url":"https://api.github.com/users/almcaffee/gists{/gist_id}","starred_url":"https://api.github.com/users/almcaffee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/almcaffee/subscriptions","organizations_url":"https://api.github.com/users/almcaffee/orgs","repos_url":"https://api.github.com/users/almcaffee/repos","events_url":"https://api.github.com/users/almcaffee/events{/privacy}","received_events_url":"https://api.github.com/users/almcaffee/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-03-19T19:27:34Z","updated_at":"2015-03-19T19:52:46Z","closed_at":"2015-03-19T19:52:46Z","body":"Good Afternoon,\r\n\r\nI am trying to implement slideout in a site but it seems to show the nav div on the next page. You can see and example here: http://abatapsendowment.org/mobile-index-test.html. I am not sure what the issue is as it worked fine until about two hours ago when I changed something. Any help would be greatly appreciated. Thanks\r\n\r\nEdit: this issue only happens when i click on an internal link from the slideout. Seems like its not toggling of once a link is clicked.\r\n\r\nEdit#2: I am new to Github so please let me know if this is not the right place to ask a question like this."},"comment":{"url":"https://api.github.com/repos/Mango/slideout/issues/comments/83738056","html_url":"https://github.com/Mango/slideout/issues/42#issuecomment-83738056","issue_url":"https://api.github.com/repos/Mango/slideout/issues/42","id":83738056,"user":{"login":"pazguille","id":250856,"avatar_url":"https://avatars.githubusercontent.com/u/250856?v=3","gravatar_id":"","url":"https://api.github.com/users/pazguille","html_url":"https://github.com/pazguille","followers_url":"https://api.github.com/users/pazguille/followers","following_url":"https://api.github.com/users/pazguille/following{/other_user}","gists_url":"https://api.github.com/users/pazguille/gists{/gist_id}","starred_url":"https://api.github.com/users/pazguille/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pazguille/subscriptions","organizations_url":"https://api.github.com/users/pazguille/orgs","repos_url":"https://api.github.com/users/pazguille/repos","events_url":"https://api.github.com/users/pazguille/events{/privacy}","received_events_url":"https://api.github.com/users/pazguille/received_events","type":"User","site_admin":false},"created_at":"2015-03-19T19:52:46Z","updated_at":"2015-03-19T19:52:46Z","body":"Hi @almcaffee!\r\n\r\nYou should remove the following scripts/css from your site:\r\n\r\n```html\r\n<script src=\"slideout/test/test.js\"></script> \r\n```\r\nand\r\n\r\n```html\r\n<link rel=\"stylesheet\" href=\"https://cdnjs.cloudflare.com/ajax/libs/mocha/1.13.0/mocha.min.css\">\r\n<link rel=\"stylesheet\" href=\"slideout/test/test.css\">\r\n```\r\n\r\nAlso, you should update the following snippet:\r\n```html\r\n<script>\r\n      window.onload = function() {\r\n        document.querySelector('.js-slideout-toggle').addEventListener('click', function() {\r\n          slideout.toggle();\r\n        });\r\n\r\n        document.querySelector('#menu').addEventListener('click', function(eve) {\r\n          if (eve.target.nodeName === 'A') { slideout.close(); }\r\n        });\r\n      };\r\n</script>\r\n```\r\n\r\n:)"}}