{"action":"created","issue":{"url":"https://api.github.com/repos/patrick-steele-idem/morphdom/issues/30","labels_url":"https://api.github.com/repos/patrick-steele-idem/morphdom/issues/30/labels{/name}","comments_url":"https://api.github.com/repos/patrick-steele-idem/morphdom/issues/30/comments","events_url":"https://api.github.com/repos/patrick-steele-idem/morphdom/issues/30/events","html_url":"https://github.com/patrick-steele-idem/morphdom/issues/30","id":116978937,"number":30,"title":"Why create an element with a unique id, which is already available?","user":{"login":"Riim","id":7447701,"avatar_url":"https://avatars.githubusercontent.com/u/7447701?v=3","gravatar_id":"","url":"https://api.github.com/users/Riim","html_url":"https://github.com/Riim","followers_url":"https://api.github.com/users/Riim/followers","following_url":"https://api.github.com/users/Riim/following{/other_user}","gists_url":"https://api.github.com/users/Riim/gists{/gist_id}","starred_url":"https://api.github.com/users/Riim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Riim/subscriptions","organizations_url":"https://api.github.com/users/Riim/orgs","repos_url":"https://api.github.com/users/Riim/repos","events_url":"https://api.github.com/users/Riim/events{/privacy}","received_events_url":"https://api.github.com/users/Riim/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-11-15T07:29:06Z","updated_at":"2015-11-16T19:34:23Z","closed_at":null,"body":"```js\r\n<!DOCTYPE html>\r\n<html>\r\n<body>\r\n\r\n<script src=\"node_modules/morphdom/dist/morphdom-umd.js\"></script>\r\n<script>\r\n\r\nvar fromEl = document.createElement('div');\r\nvar toEl = document.createElement('div');\r\n\r\nfromEl.innerHTML = '<div id=\"qwerty\" class=\"div1\"></div>';\r\ntoEl.innerHTML = '<div><div id=\"qwerty\" class=\"div1\"></div></div>';\r\n\r\nvar div1 = fromEl.querySelector('.div1');\r\n\r\nmorphdom(fromEl, toEl);\r\n\r\nvar div1_2 = fromEl.querySelector('.div1');\r\n\r\nconsole.log(div1 == div1_2); // false ???, should be true\r\n\r\n</script>\r\n\r\n</body>\r\n</html>\r\n```"},"comment":{"url":"https://api.github.com/repos/patrick-steele-idem/morphdom/issues/comments/157145534","html_url":"https://github.com/patrick-steele-idem/morphdom/issues/30#issuecomment-157145534","issue_url":"https://api.github.com/repos/patrick-steele-idem/morphdom/issues/30","id":157145534,"user":{"login":"patrick-steele-idem","id":978214,"avatar_url":"https://avatars.githubusercontent.com/u/978214?v=3","gravatar_id":"","url":"https://api.github.com/users/patrick-steele-idem","html_url":"https://github.com/patrick-steele-idem","followers_url":"https://api.github.com/users/patrick-steele-idem/followers","following_url":"https://api.github.com/users/patrick-steele-idem/following{/other_user}","gists_url":"https://api.github.com/users/patrick-steele-idem/gists{/gist_id}","starred_url":"https://api.github.com/users/patrick-steele-idem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/patrick-steele-idem/subscriptions","organizations_url":"https://api.github.com/users/patrick-steele-idem/orgs","repos_url":"https://api.github.com/users/patrick-steele-idem/repos","events_url":"https://api.github.com/users/patrick-steele-idem/events{/privacy}","received_events_url":"https://api.github.com/users/patrick-steele-idem/received_events","type":"User","site_admin":false},"created_at":"2015-11-16T19:34:23Z","updated_at":"2015-11-16T19:34:23Z","body":"Hmm. Seems like a bug if that is the case. I'm looking into it."}}