{"action":"created","issue":{"url":"https://api.github.com/repos/Leaflet/Leaflet/issues/3349","labels_url":"https://api.github.com/repos/Leaflet/Leaflet/issues/3349/labels{/name}","comments_url":"https://api.github.com/repos/Leaflet/Leaflet/issues/3349/comments","events_url":"https://api.github.com/repos/Leaflet/Leaflet/issues/3349/events","html_url":"https://github.com/Leaflet/Leaflet/issues/3349","id":65760243,"number":3349,"title":"\"TypeError: el.className is undefined\" when dragging too fast","user":{"login":"Lambdac0re","id":11350544,"avatar_url":"https://avatars.githubusercontent.com/u/11350544?v=3","gravatar_id":"","url":"https://api.github.com/users/Lambdac0re","html_url":"https://github.com/Lambdac0re","followers_url":"https://api.github.com/users/Lambdac0re/followers","following_url":"https://api.github.com/users/Lambdac0re/following{/other_user}","gists_url":"https://api.github.com/users/Lambdac0re/gists{/gist_id}","starred_url":"https://api.github.com/users/Lambdac0re/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Lambdac0re/subscriptions","organizations_url":"https://api.github.com/users/Lambdac0re/orgs","repos_url":"https://api.github.com/users/Lambdac0re/repos","events_url":"https://api.github.com/users/Lambdac0re/events{/privacy}","received_events_url":"https://api.github.com/users/Lambdac0re/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-04-01T19:25:29Z","updated_at":"2015-04-02T14:20:54Z","closed_at":"2015-04-02T09:27:02Z","body":"NOT A DUPLICATE\r\nJust like in issues #2647 and #2610 Leaflet tries to access the className of the document object. (Also Firefox)\r\n\r\n    TypeError: el.className is undefined\r\n    leaflet-0.7.3/leaflet-src.js\r\n    Line 996\r\n\r\nHere is the stack:\r\n\r\n    L.DomUtil._getClass(el=Document index.html)leaflet-src.js (Zeile 996)\r\n    L.DomUtil.hasClass(el=Document index.html, name=\"leaflet-drag-target\")leaflet-src.js (Zeile 962)\r\n    L.DomUtil.addClass(el=Document index.html, name=\"leaflet-drag-target\")leaflet-src.js (Zeile 972)\r\n    L.Draggable<._onMove(e=mousemove clientX=864, clientY=82)leaflet-src.js (Zeile 6724)\r\n    L.DomEvent.addListener/handler(e=mousemove clientX=864, clientY=82)leaflet-src.js (Zeile 6403)\r\n\r\nAnd the line in question:\r\n\r\n    return el.className.baseVal === undefined ? el.className : el.className.baseVal\r\n\r\nIt looks like this._lastTarget is being set to the document object."},"comment":{"url":"https://api.github.com/repos/Leaflet/Leaflet/issues/comments/88924937","html_url":"https://github.com/Leaflet/Leaflet/issues/3349#issuecomment-88924937","issue_url":"https://api.github.com/repos/Leaflet/Leaflet/issues/3349","id":88924937,"user":{"login":"mourner","id":25395,"avatar_url":"https://avatars.githubusercontent.com/u/25395?v=3","gravatar_id":"","url":"https://api.github.com/users/mourner","html_url":"https://github.com/mourner","followers_url":"https://api.github.com/users/mourner/followers","following_url":"https://api.github.com/users/mourner/following{/other_user}","gists_url":"https://api.github.com/users/mourner/gists{/gist_id}","starred_url":"https://api.github.com/users/mourner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mourner/subscriptions","organizations_url":"https://api.github.com/users/mourner/orgs","repos_url":"https://api.github.com/users/mourner/repos","events_url":"https://api.github.com/users/mourner/events{/privacy}","received_events_url":"https://api.github.com/users/mourner/received_events","type":"User","site_admin":false},"created_at":"2015-04-02T14:20:54Z","updated_at":"2015-04-02T14:20:54Z","body":"Ah I wish I'd do it faster! But there are lots of tiny bits of things to fix :( See the corresponding milestone"}}