#104 jquery convert to javascript
parent
d69abde068
commit
37cca80026
|
@ -393,7 +393,7 @@ export default {
|
||||||
|
|
||||||
const parents = svgCanvas.getParents(mouseTarget.parentNode);
|
const parents = svgCanvas.getParents(mouseTarget.parentNode);
|
||||||
|
|
||||||
if ($.inArray(svgcontent, parents) !== -1) {
|
if (parents.indexOf(svgcontent) !== -1) {
|
||||||
// Connectable element
|
// Connectable element
|
||||||
|
|
||||||
// If child of foreignObject, use parent
|
// If child of foreignObject, use parent
|
||||||
|
|
Loading…
Reference in New Issue