]> source.dussan.org Git - svg.js.git/commitdiff
1277: remove double quotes from maskWith url() impl
authorHarry Faulkner <flkn.haz@gmail.com>
Tue, 9 Aug 2022 15:19:08 +0000 (16:19 +0100)
committerHarry Faulkner <flkn.haz@gmail.com>
Tue, 9 Aug 2022 15:19:08 +0000 (16:19 +0100)
src/elements/Mask.js

index e43d83fb29654c7fc4197327bf07906091e18168..3faa3a7347d23a21e739a882b7120f4ad932b052 100644 (file)
@@ -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