Here is the actual fix intended in the last commit.
This commit is contained in:
parent
fda4d337fd
commit
bb8de6dabb
1 changed files with 1 additions and 1 deletions
|
@ -732,7 +732,7 @@
|
|||
(set! (.-cur-element cur) nil)
|
||||
cur-elem)
|
||||
cur)]
|
||||
(if-let [parent parent]
|
||||
(if-let [parent (or (when-not cur parent) (.-parentNode cur))]
|
||||
(let [new-node (if cur
|
||||
(replace-child* parent new-elem cur true)
|
||||
(insert-child* parent new-elem before))]
|
||||
|
|
Loading…
Reference in a new issue