Bundled output for commit 571b60830b [skip ci]
This commit is contained in:
parent
571b60830b
commit
6dee1571a1
3 changed files with 12 additions and 12 deletions
|
|
@ -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}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue