Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Belgian Biodiversity Platform
yeti
Commits
14ca6673
Commit
14ca6673
authored
Mar 21, 2013
by
Julien Cigar
Browse files
uses .hasChildNodes()
parent
e7dec3cc
Changes
1
Hide whitespace changes
Inline
Side-by-side
core.js
View file @
14ca6673
...
...
@@ -442,7 +442,7 @@
}
}
if
(
deep
&&
node
.
childNodes
&&
node
.
childNodes
.
length
>
0
)
{
if
(
deep
&&
node
.
hasChildNodes
()
)
{
for
(
var
i
=
0
,
_len
=
node
.
childNodes
.
length
;
i
<
_len
;
i
++
)
{
newNode
.
appendChild
(
Yeti
.
DOM
.
importNode
(
node
.
childNodes
[
i
],
deep
));
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment