Bundled output for commit 571b60830b [skip ci]

This commit is contained in:
Gandalf-the-Bot 2018-06-11 20:06:53 +00:00
parent 571b60830b
commit 6dee1571a1
3 changed files with 12 additions and 12 deletions

View file

@ -1240,7 +1240,7 @@ var coreRenderer = function($window) {
updateNodes(dom, dom.vnodes, Vnode.normalizeChildren(vnodes), hooks, null, namespace === "http://www.w3.org/1999/xhtml" ? undefined : namespace)
dom.vnodes = vnodes
// 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()
if (active != null && $doc.activeElement !== active && typeof active.focus === "function") active.focus()
for (var i = 0; i < hooks.length; i++) hooks[i]()
}
return {render: render, setEventCallback: setEventCallback}