Merge pull request #1174 from pygy/move-up-vnodes-assignment
Move the `dom.vnodes` assignement up one line.
This commit is contained in:
commit
023956b62e
1 changed files with 1 additions and 1 deletions
|
|
@ -518,8 +518,8 @@ module.exports = function($window) {
|
|||
|
||||
if (!(vnodes instanceof Array)) vnodes = [vnodes]
|
||||
updateNodes(dom, dom.vnodes, Node.normalizeChildren(vnodes), hooks, null, undefined)
|
||||
for (var i = 0; i < hooks.length; i++) hooks[i]()
|
||||
dom.vnodes = vnodes
|
||||
for (var i = 0; i < hooks.length; i++) hooks[i]()
|
||||
if ($doc.activeElement !== active) active.focus()
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue