{"action":"created","issue":{"url":"https://api.github.com/repos/alvarotrigo/fullPage.js/issues/2274","repository_url":"https://api.github.com/repos/alvarotrigo/fullPage.js","labels_url":"https://api.github.com/repos/alvarotrigo/fullPage.js/issues/2274/labels{/name}","comments_url":"https://api.github.com/repos/alvarotrigo/fullPage.js/issues/2274/comments","events_url":"https://api.github.com/repos/alvarotrigo/fullPage.js/issues/2274/events","html_url":"https://github.com/alvarotrigo/fullPage.js/issues/2274","id":178149948,"number":2274,"title":"disable scroll to next section in onLeave call back JAVASCRIPT VERSION","user":{"login":"milka1701","id":19667264,"avatar_url":"https://avatars.githubusercontent.com/u/19667264?v=3","gravatar_id":"","url":"https://api.github.com/users/milka1701","html_url":"https://github.com/milka1701","followers_url":"https://api.github.com/users/milka1701/followers","following_url":"https://api.github.com/users/milka1701/following{/other_user}","gists_url":"https://api.github.com/users/milka1701/gists{/gist_id}","starred_url":"https://api.github.com/users/milka1701/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/milka1701/subscriptions","organizations_url":"https://api.github.com/users/milka1701/orgs","repos_url":"https://api.github.com/users/milka1701/repos","events_url":"https://api.github.com/users/milka1701/events{/privacy}","received_events_url":"https://api.github.com/users/milka1701/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/alvarotrigo/fullPage.js/labels/question","name":"question","color":"cc317c"}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-09-20T19:12:34Z","updated_at":"2016-09-20T19:35:22Z","closed_at":"2016-09-20T19:14:29Z","body":"How to disable scroll to next section in onLeave callback in javascript version?\r\nI tried -->\r\nif (nextIndex==6){\r\nreturn false \r\n}\r\nThis was working in jQuery version,"},"comment":{"url":"https://api.github.com/repos/alvarotrigo/fullPage.js/issues/comments/248408944","html_url":"https://github.com/alvarotrigo/fullPage.js/issues/2274#issuecomment-248408944","issue_url":"https://api.github.com/repos/alvarotrigo/fullPage.js/issues/2274","id":248408944,"user":{"login":"milka1701","id":19667264,"avatar_url":"https://avatars.githubusercontent.com/u/19667264?v=3","gravatar_id":"","url":"https://api.github.com/users/milka1701","html_url":"https://github.com/milka1701","followers_url":"https://api.github.com/users/milka1701/followers","following_url":"https://api.github.com/users/milka1701/following{/other_user}","gists_url":"https://api.github.com/users/milka1701/gists{/gist_id}","starred_url":"https://api.github.com/users/milka1701/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/milka1701/subscriptions","organizations_url":"https://api.github.com/users/milka1701/orgs","repos_url":"https://api.github.com/users/milka1701/repos","events_url":"https://api.github.com/users/milka1701/events{/privacy}","received_events_url":"https://api.github.com/users/milka1701/received_events","type":"User","site_admin":false},"created_at":"2016-09-20T19:35:22Z","updated_at":"2016-09-20T19:35:22Z","body":"Doesn work but acctualy that was not the main problem,I was trying to solve the main problem that way.I have 5 sections and when go to the 5th and scroll down I get some errors in console and the hash \"myurl#null\" and nothing works until I reload the site,so I tried to make one \"fake section\" to be the last one and when I scroll to the 5th and don't allow scroll to 6th section using onLeave callback if nextIndex ==6 don't allow scroll to the 6th(fakeSection).\nI get these error in console when I go to the last section and scroll down.\n"}}
{"actor":{"display_login":"milka1701"}}