From 4dd7ce338880d05ff0ea03d9b730126bcee99356 Mon Sep 17 00:00:00 2001 From: Ulrich-Matthias Schäfer Date: Sun, 9 Apr 2017 21:02:20 +0200 Subject: make last test passing in svg docs --- src/doc.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/doc.js b/src/doc.js index c6da348..6a48a6a 100644 --- a/src/doc.js +++ b/src/doc.js @@ -71,10 +71,10 @@ SVG.Doc = SVG.invent({ // Removes the doc from the DOM , remove: function() { if(this.parent()) { - this.parent().removeChild(this.node); + this.parent().removeChild(this.node) } - return this; + return this } , clear: function() { // remove children -- cgit v1.2.3