aboutsummaryrefslogtreecommitdiffstats
path: root/src/elements/Gradient.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/elements/Gradient.js')
-rw-r--r--src/elements/Gradient.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/elements/Gradient.js b/src/elements/Gradient.js
index a698225..d3fa15b 100644
--- a/src/elements/Gradient.js
+++ b/src/elements/Gradient.js
@@ -29,7 +29,7 @@ export default class Gradient extends Container {
}
targets () {
- return baseFind('svg [fill*="' + this.id() + '"]')
+ return baseFind('svg [fill*=' + this.id() + ']')
}
// Alias string conversion to fill
@@ -52,7 +52,7 @@ export default class Gradient extends Container {
// Return the fill id
url () {
- return 'url("#' + this.id() + '")'
+ return 'url(#' + this.id() + ')'
}
}