{"action":"closed","issue":{"url":"https://api.github.com/repos/mapbox/mapbox-gl-draw/issues/105","labels_url":"https://api.github.com/repos/mapbox/mapbox-gl-draw/issues/105/labels{/name}","comments_url":"https://api.github.com/repos/mapbox/mapbox-gl-draw/issues/105/comments","events_url":"https://api.github.com/repos/mapbox/mapbox-gl-draw/issues/105/events","html_url":"https://github.com/mapbox/mapbox-gl-draw/issues/105","id":117387189,"number":105,"title":"Uncaught TypeError: Cannot read property 'classList' of undefined","user":{"login":"gstf","id":42968,"avatar_url":"https://avatars.githubusercontent.com/u/42968?v=3","gravatar_id":"","url":"https://api.github.com/users/gstf","html_url":"https://github.com/gstf","followers_url":"https://api.github.com/users/gstf/followers","following_url":"https://api.github.com/users/gstf/following{/other_user}","gists_url":"https://api.github.com/users/gstf/gists{/gist_id}","starred_url":"https://api.github.com/users/gstf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gstf/subscriptions","organizations_url":"https://api.github.com/users/gstf/orgs","repos_url":"https://api.github.com/users/gstf/repos","events_url":"https://api.github.com/users/gstf/events{/privacy}","received_events_url":"https://api.github.com/users/gstf/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-11-17T16:04:01Z","updated_at":"2015-12-08T06:54:21Z","closed_at":"2015-12-08T06:54:21Z","body":"When not using lineStringCtrl, polygonCtrl, squareCtrl or markerCtrl this line throws the error in the title.\r\n\r\nhttps://github.com/mapbox/gl-draw/blob/46d69fdbf6d83a7847133dbb9077995dba588f39/src/draw.js#L384-L387"}}