aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarry Faulkner <flkn.haz@gmail.com>2022-08-09 16:19:08 +0100
committerHarry Faulkner <flkn.haz@gmail.com>2022-08-09 16:19:08 +0100
commita942ca8a651ad50ce3d698f4d9568ef171acd054 (patch)
treef3ab32838a0c0fa4d2dfa6e3a72d5cc4506ce8f1
parent2b028c35ab1a77c38a850c3c21082a5dacc18ac8 (diff)
downloadsvg.js-a942ca8a651ad50ce3d698f4d9568ef171acd054.tar.gz
svg.js-a942ca8a651ad50ce3d698f4d9568ef171acd054.zip
1277: remove double quotes from maskWith url() impl
-rw-r--r--src/elements/Mask.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/elements/Mask.js b/src/elements/Mask.js
index e43d83f..3faa3a7 100644
--- a/src/elements/Mask.js
+++ b/src/elements/Mask.js
@@ -44,7 +44,7 @@ registerMethods({
: this.parent().mask().add(element)
// apply mask
- return this.attr('mask', 'url("#' + masker.id() + '")')
+ return this.attr('mask', 'url(#' + masker.id() + ')')
},
// Unmask element