about summary refs log tree commit diff stats
path: root/htmlelement.nim
diff options
context:
space:
mode:
Diffstat (limited to 'htmlelement.nim')
-rw-r--r--htmlelement.nim2
1 files changed, 0 insertions, 2 deletions
diff --git a/htmlelement.nim b/htmlelement.nim
index 1d4106a5..2b7c1c64 100644
--- a/htmlelement.nim
+++ b/htmlelement.nim
@@ -332,8 +332,6 @@ proc getHtmlElement*(xmlElement: XmlNode, parentNode: HtmlNode): HtmlElement =
     result.underscore = result.underscore or parent.underscore
     result.hidden = result.hidden or parent.hidden
     result.islink = result.islink or parent.islink
-  
-  result.numChildNodes = xmlElement.len
 
 proc getHtmlNode*(xmlElement: XmlNode, parent: HtmlNode): HtmlNode =
   case kind(xmlElement)