{"action":"created","issue":{"url":"https://api.github.com/repos/Mottie/tablesorter/issues/849","labels_url":"https://api.github.com/repos/Mottie/tablesorter/issues/849/labels{/name}","comments_url":"https://api.github.com/repos/Mottie/tablesorter/issues/849/comments","events_url":"https://api.github.com/repos/Mottie/tablesorter/issues/849/events","html_url":"https://github.com/Mottie/tablesorter/pull/849","id":63215450,"number":849,"title":"Long clicks don't sort","user":{"login":"johnjameswhitman","id":1639083,"avatar_url":"https://avatars.githubusercontent.com/u/1639083?v=3","gravatar_id":"","url":"https://api.github.com/users/johnjameswhitman","html_url":"https://github.com/johnjameswhitman","followers_url":"https://api.github.com/users/johnjameswhitman/followers","following_url":"https://api.github.com/users/johnjameswhitman/following{/other_user}","gists_url":"https://api.github.com/users/johnjameswhitman/gists{/gist_id}","starred_url":"https://api.github.com/users/johnjameswhitman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johnjameswhitman/subscriptions","organizations_url":"https://api.github.com/users/johnjameswhitman/orgs","repos_url":"https://api.github.com/users/johnjameswhitman/repos","events_url":"https://api.github.com/users/johnjameswhitman/events{/privacy}","received_events_url":"https://api.github.com/users/johnjameswhitman/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-03-20T12:00:27Z","updated_at":"2015-03-20T23:21:13Z","closed_at":"2015-03-20T12:15:56Z","pull_request":{"url":"https://api.github.com/repos/Mottie/tablesorter/pulls/849","html_url":"https://github.com/Mottie/tablesorter/pull/849","diff_url":"https://github.com/Mottie/tablesorter/pull/849.diff","patch_url":"https://github.com/Mottie/tablesorter/pull/849.patch"},"body":"I'm working with some iPad 3's on iOS3 where JS performance is terrible and we couldn't get sorting to work with tablesorter. I noticed we could trigger the sort event on the table through developer tools just fine, but for some reason the click event was taking forever to complete. In ``bindEvents`` there's a check to see if the difference in time between the ``mousedown`` and ``mouseup`` events was >250ms to prevent a sort when you have resizeable columns you want to drag. Could you add an option to toggle that behavior? I've got a PR I can send over...all tests pass but I couldn't write a unit test for this behavior because ``bindEvents`` unbinds ``mousedown`` and ``mouseup`` from the table headers."},"comment":{"url":"https://api.github.com/repos/Mottie/tablesorter/issues/comments/84191044","html_url":"https://github.com/Mottie/tablesorter/pull/849#issuecomment-84191044","issue_url":"https://api.github.com/repos/Mottie/tablesorter/issues/849","id":84191044,"user":{"login":"Mottie","id":136959,"avatar_url":"https://avatars.githubusercontent.com/u/136959?v=3","gravatar_id":"","url":"https://api.github.com/users/Mottie","html_url":"https://github.com/Mottie","followers_url":"https://api.github.com/users/Mottie/followers","following_url":"https://api.github.com/users/Mottie/following{/other_user}","gists_url":"https://api.github.com/users/Mottie/gists{/gist_id}","starred_url":"https://api.github.com/users/Mottie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Mottie/subscriptions","organizations_url":"https://api.github.com/users/Mottie/orgs","repos_url":"https://api.github.com/users/Mottie/repos","events_url":"https://api.github.com/users/Mottie/events{/privacy}","received_events_url":"https://api.github.com/users/Mottie/received_events","type":"User","site_admin":false},"created_at":"2015-03-20T23:21:13Z","updated_at":"2015-03-20T23:21:13Z","body":"So, I actually ended up reverting your changes... sorry! :crying_cat_face: \r\n\r\nI completely removed the long click check in lieu of checking to see if the event target is the same on mouseup & mousedown. I also made it possible to trigger a \"click\" event on the header to initiate a sort (it wasn't possible before, which is why there is a \"sort\" event).\r\n\r\nI've tested it on my changes to the resizable widget and it works great there too!\r\n\r\nLet me know if you encounter any issues with this update.\r\n\r\nThanks!\r\n"}}