{"action":"opened","issue":{"url":"https://api.github.com/repos/pklauzinski/jscroll/issues/57","labels_url":"https://api.github.com/repos/pklauzinski/jscroll/issues/57/labels{/name}","comments_url":"https://api.github.com/repos/pklauzinski/jscroll/issues/57/comments","events_url":"https://api.github.com/repos/pklauzinski/jscroll/issues/57/events","html_url":"https://github.com/pklauzinski/jscroll/issues/57","id":73256929,"number":57,"title":"_destroy does not remove data from target element","user":{"login":"gregatmcube","id":8045575,"avatar_url":"https://avatars.githubusercontent.com/u/8045575?v=3","gravatar_id":"","url":"https://api.github.com/users/gregatmcube","html_url":"https://github.com/gregatmcube","followers_url":"https://api.github.com/users/gregatmcube/followers","following_url":"https://api.github.com/users/gregatmcube/following{/other_user}","gists_url":"https://api.github.com/users/gregatmcube/gists{/gist_id}","starred_url":"https://api.github.com/users/gregatmcube/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gregatmcube/subscriptions","organizations_url":"https://api.github.com/users/gregatmcube/orgs","repos_url":"https://api.github.com/users/gregatmcube/repos","events_url":"https://api.github.com/users/gregatmcube/events{/privacy}","received_events_url":"https://api.github.com/users/gregatmcube/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-05-05T09:15:52Z","updated_at":"2015-05-05T09:15:52Z","closed_at":null,"body":"Destroy function removes data jscroll from the window and not from the targeted element. I just put there this line:\r\n$e.removeData('jscroll');\r\nto fix my issues. I could not rebind the functionality after destroying it, because data was already set.\r\n\r\n"}}