From 222d2e2cd8dcb37ced0c68029737d0da9dbfb9d4 Mon Sep 17 00:00:00 2001 From: ZhengHe Date: Tue, 9 May 2017 17:58:33 +0800 Subject: [PATCH] Update article.md fix typo on cloneNode --- 2-ui/1-document/07-modifying-document/article.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/2-ui/1-document/07-modifying-document/article.md b/2-ui/1-document/07-modifying-document/article.md index 09d943ba..cf280e09 100644 --- a/2-ui/1-document/07-modifying-document/article.md +++ b/2-ui/1-document/07-modifying-document/article.md @@ -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. -- 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: