aboutsummaryrefslogtreecommitdiffstats
path: root/src/elements/ClipPath.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/elements/ClipPath.js')
-rw-r--r--src/elements/ClipPath.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/elements/ClipPath.js b/src/elements/ClipPath.js
index add119e..f17428f 100644
--- a/src/elements/ClipPath.js
+++ b/src/elements/ClipPath.js
@@ -20,7 +20,7 @@ export default class ClipPath extends Container {
}
targets () {
- return baseFind('svg [clip-path*="' + this.id() + '"]')
+ return baseFind('svg [clip-path*=' + this.id() + ']')
}
}
@@ -44,7 +44,7 @@ registerMethods({
: this.parent().clip().add(element)
// apply mask
- return this.attr('clip-path', 'url("#' + clipper.id() + '")')
+ return this.attr('clip-path', 'url(#' + clipper.id() + ')')
},
// Unclip element