{"action":"created","issue":{"url":"https://api.github.com/repos/MazeMap/Leaflet.singleclick/issues/2","labels_url":"https://api.github.com/repos/MazeMap/Leaflet.singleclick/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/MazeMap/Leaflet.singleclick/issues/2/comments","events_url":"https://api.github.com/repos/MazeMap/Leaflet.singleclick/issues/2/events","html_url":"https://github.com/MazeMap/Leaflet.singleclick/pull/2","id":112058933,"number":2,"title":"Workaround for click-click-dblclick event order 'bug'","user":{"login":"dagjomar","id":416408,"avatar_url":"https://avatars.githubusercontent.com/u/416408?v=3","gravatar_id":"","url":"https://api.github.com/users/dagjomar","html_url":"https://github.com/dagjomar","followers_url":"https://api.github.com/users/dagjomar/followers","following_url":"https://api.github.com/users/dagjomar/following{/other_user}","gists_url":"https://api.github.com/users/dagjomar/gists{/gist_id}","starred_url":"https://api.github.com/users/dagjomar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dagjomar/subscriptions","organizations_url":"https://api.github.com/users/dagjomar/orgs","repos_url":"https://api.github.com/users/dagjomar/repos","events_url":"https://api.github.com/users/dagjomar/events{/privacy}","received_events_url":"https://api.github.com/users/dagjomar/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"IvanSanchez","id":1125786,"avatar_url":"https://avatars.githubusercontent.com/u/1125786?v=3","gravatar_id":"","url":"https://api.github.com/users/IvanSanchez","html_url":"https://github.com/IvanSanchez","followers_url":"https://api.github.com/users/IvanSanchez/followers","following_url":"https://api.github.com/users/IvanSanchez/following{/other_user}","gists_url":"https://api.github.com/users/IvanSanchez/gists{/gist_id}","starred_url":"https://api.github.com/users/IvanSanchez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/IvanSanchez/subscriptions","organizations_url":"https://api.github.com/users/IvanSanchez/orgs","repos_url":"https://api.github.com/users/IvanSanchez/repos","events_url":"https://api.github.com/users/IvanSanchez/events{/privacy}","received_events_url":"https://api.github.com/users/IvanSanchez/received_events","type":"User","site_admin":false},"milestone":null,"comments":1,"created_at":"2015-10-19T02:06:22Z","updated_at":"2015-10-19T12:30:57Z","closed_at":"2015-10-19T12:30:57Z","pull_request":{"url":"https://api.github.com/repos/MazeMap/Leaflet.singleclick/pulls/2","html_url":"https://github.com/MazeMap/Leaflet.singleclick/pull/2","diff_url":"https://github.com/MazeMap/Leaflet.singleclick/pull/2.diff","patch_url":"https://github.com/MazeMap/Leaflet.singleclick/pull/2.patch"},"body":"Fixes #1\r\n\r\nThe issue has probably been present since early Leaflet, since the \"SmartClick\" had already implemented logic to prevent this.\r\n\r\n~~Porting over old logic from \"SmartClick\", using timeouts to fix the issue~~\r\n~~Not very pretty or elegant, but does the trick until a better way is found~~\r\n~~Basically prevents 'click' that happen 'immediately' after a 'dblclick' from firing 'smartclick'~~\r\n\r\nFixing it properly by re-implementing the original logic from Alpstein/leaflet-singleclick_0.7"},"comment":{"url":"https://api.github.com/repos/MazeMap/Leaflet.singleclick/issues/comments/149200673","html_url":"https://github.com/MazeMap/Leaflet.singleclick/pull/2#issuecomment-149200673","issue_url":"https://api.github.com/repos/MazeMap/Leaflet.singleclick/issues/2","id":149200673,"user":{"login":"IvanSanchez","id":1125786,"avatar_url":"https://avatars.githubusercontent.com/u/1125786?v=3","gravatar_id":"","url":"https://api.github.com/users/IvanSanchez","html_url":"https://github.com/IvanSanchez","followers_url":"https://api.github.com/users/IvanSanchez/followers","following_url":"https://api.github.com/users/IvanSanchez/following{/other_user}","gists_url":"https://api.github.com/users/IvanSanchez/gists{/gist_id}","starred_url":"https://api.github.com/users/IvanSanchez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/IvanSanchez/subscriptions","organizations_url":"https://api.github.com/users/IvanSanchez/orgs","repos_url":"https://api.github.com/users/IvanSanchez/repos","events_url":"https://api.github.com/users/IvanSanchez/events{/privacy}","received_events_url":"https://api.github.com/users/IvanSanchez/received_events","type":"User","site_admin":false},"created_at":"2015-10-19T12:30:57Z","updated_at":"2015-10-19T12:30:57Z","body":"Closing as superseded by #3."}}