adding comment specifying bug

This commit is contained in:
Jackson Nowotny 2017-08-22 15:51:47 -05:00
parent 849e862413
commit aaa448ac4e

View file

@ -630,6 +630,7 @@ module.exports = function($window) {
updateNodes(dom, dom.vnodes, Vnode.normalizeChildren(vnodes), false, hooks, null, namespace === "http://www.w3.org/1999/xhtml" ? undefined : namespace)
dom.vnodes = vnodes
for (var i = 0; i < hooks.length; i++) hooks[i]()
// document.activeElement can return null in IE https://developer.mozilla.org/en-US/docs/Web/API/Document/activeElement
if (active !== null && $doc.activeElement !== active) active.focus()
}