Fix for mask being passed to `.attr()` method.
parent
20adda5829
commit
8c0a7dc0a4
File diff suppressed because one or more lines are too long
|
@ -3736,10 +3736,10 @@ Snap.plugin(function (Snap, Element, Paper, glob, Fragment) {
|
|||
} else {
|
||||
mask = make("mask", getSomeDefs(this));
|
||||
mask.node.appendChild(value.node);
|
||||
}
|
||||
!mask.node.id && $(mask.node, {
|
||||
id: mask.id
|
||||
});
|
||||
}
|
||||
$(this.node, {
|
||||
mask: URL(mask.id)
|
||||
});
|
||||
|
|
|
@ -37,10 +37,10 @@ Snap.plugin(function (Snap, Element, Paper, glob, Fragment) {
|
|||
} else {
|
||||
mask = make("mask", getSomeDefs(this));
|
||||
mask.node.appendChild(value.node);
|
||||
}
|
||||
!mask.node.id && $(mask.node, {
|
||||
id: mask.id
|
||||
});
|
||||
}
|
||||
$(this.node, {
|
||||
mask: URL(mask.id)
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue