diff options
Diffstat (limited to 'src/elements/Mask.js')
-rw-r--r-- | src/elements/Mask.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/elements/Mask.js b/src/elements/Mask.js index e43d83f..5b462f7 100644 --- a/src/elements/Mask.js +++ b/src/elements/Mask.js @@ -21,7 +21,7 @@ export default class Mask extends Container { } targets () { - return baseFind('svg [mask*="' + this.id() + '"]') + return baseFind('svg [mask*=' + this.id() + ']') } } @@ -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 |