render: remove check that may hide bugs
This commit is contained in:
parent
fc0240da0f
commit
02aab654f0
1 changed files with 1 additions and 1 deletions
|
|
@ -420,7 +420,7 @@ module.exports = function($window) {
|
||||||
}
|
}
|
||||||
|
|
||||||
function insertNode(parent, dom, nextSibling) {
|
function insertNode(parent, dom, nextSibling) {
|
||||||
if (nextSibling && nextSibling.parentNode) parent.insertBefore(dom, nextSibling)
|
if (nextSibling) parent.insertBefore(dom, nextSibling)
|
||||||
else parent.appendChild(dom)
|
else parent.appendChild(dom)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue