diff options
author | Patrick Klingemann <patrick.klingemann@gmail.com> | 2014-06-09 13:59:53 -0400 |
---|---|---|
committer | Patrick Klingemann <patrick.klingemann@gmail.com> | 2014-06-09 13:59:53 -0400 |
commit | c13717a8d8d85e5d1d408e27a6db881fe773cc04 (patch) | |
tree | 6693bb631dab6a126fdc214d537856c4ae9ac8f7 /src/element.js | |
parent | 63d88467de624a48680d68a57752273934f13534 (diff) | |
download | svg.js-c13717a8d8d85e5d1d408e27a6db881fe773cc04.tar.gz svg.js-c13717a8d8d85e5d1d408e27a6db881fe773cc04.zip |
toggleClass returns the svg instance
Diffstat (limited to 'src/element.js')
-rwxr-xr-x | src/element.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/element.js b/src/element.js index 2942831..9c52dd0 100755 --- a/src/element.js +++ b/src/element.js @@ -382,6 +382,7 @@ SVG.Element = SVG.invent({ } else { this.addClass(className) } + return this } // Private: find svg parent by instance , _parent: function(parent) { |