diff --git a/package.json b/package.json index 12f983a..2d5e3a6 100644 --- a/package.json +++ b/package.json @@ -44,7 +44,7 @@ "@types/lodash": "4.14.73", "@types/backbone": "1.3.42", "codemirror": "5.28.0", - "jointjs": "2.1.2", + "jointjs": "2.1.3", "lodash": "3.10.1", "jquery": "3.1.1", "ts-disposables": "2.2.3", @@ -94,7 +94,7 @@ "@types/lodash": "4.14.73", "@types/backbone": "1.3.42", "codemirror": "5.28.0", - "jointjs": "2.1.2", + "jointjs": "2.1.3", "lodash": "3.10.1", "jquery": "3.1.1", "ts-disposables": "2.2.3", diff --git a/src/lib/src/shared/shapes.ts b/src/lib/src/shared/shapes.ts index 9032d24..22ae5f0 100644 --- a/src/lib/src/shared/shapes.ts +++ b/src/lib/src/shared/shapes.ts @@ -241,10 +241,8 @@ joint.shapes.flo.ElementView = joint.dia.ElementView.extend({ if ($(evt.target).attr('port') === 'input') { sourceEnd = { x: x, y: y }; targetEnd = this.getLinkEnd(magnet, x, y, link, 'target'); - targetEnd.selector = magnet.getAttribute('class').split(' ').map((cls: string) => '.' + cls).join(' '); } else { sourceEnd = this.getLinkEnd(magnet, x, y, link, 'source'); - sourceEnd.selector = magnet.getAttribute('class').split(' ').map((cls: string) => '.' + cls).join(' '); targetEnd = { x: x, y: y }; }