summaryrefslogtreecommitdiffstats
path: root/src/element.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/element.js')
-rw-r--r--src/element.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/element.js b/src/element.js
index 3149d22..8d07762 100644
--- a/src/element.js
+++ b/src/element.js
@@ -178,6 +178,7 @@ SVG.extend(SVG.Element, {
}
// Manage transformations
, transform: function(o, v) {
+
if (arguments.length == 0) {
/* act as a getter if no argument is given */
return this.trans