diff --git a/src/dom/node.js b/src/dom/node.js index f5702ada..1c424ad8 100644 --- a/src/dom/node.js +++ b/src/dom/node.js @@ -140,7 +140,7 @@ __extend__(Node.prototype, { } if(!refChild){ this.appendChild(newChild); - return this.newChild; + return newChild; } // test for exceptions