Merge pull request #554 from ZhengHe-MD/patch-1

Update article.md
This commit is contained in:
Ilya Kantor 2017-05-10 16:21:22 +03:00 committed by GitHub
commit 14a882fee0

View file

@ -309,7 +309,7 @@ We could do a function and put the code there. But the alternative way would be
Sometimes when we have a big element, that may be faster and simpler. Sometimes when we have a big element, that may be faster and simpler.
- The call `elem.cloneNode(true)` creates a "deep" clone of the element -- with all attributes and subelements. If we call `elem.clonseNode(false)`, then the clone is made without child elements. - The call `elem.cloneNode(true)` creates a "deep" clone of the element -- with all attributes and subelements. If we call `elem.cloneNode(false)`, then the clone is made without child elements.
An example of copying the message: An example of copying the message: