summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rwxr-xr-xsrc/text.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/text.js b/src/text.js
index 4acd236..5fc9ece 100755
--- a/src/text.js
+++ b/src/text.js
@@ -67,7 +67,7 @@ SVG.extend(SVG.Text, {
if (typeof text === 'function') {
this._rebuild = false
- text(this)
+ text.call(this, this)
} else {
this._rebuild = true