Bundled output for commit 11183f339d [skip ci]

This commit is contained in:
Gandalf-the-Bot 2017-08-30 11:59:27 +00:00
parent 11183f339d
commit 67e1aad944
3 changed files with 13 additions and 12 deletions

View file

@ -991,7 +991,8 @@ var coreRenderer = 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]()
if ($doc.activeElement !== active) active.focus()
// 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()
}
return {render: render, setEventCallback: setEventCallback}
}