style(rules): remove unneeded unwrapping
This commit is contained in:
parent
19491aa3fd
commit
9240971ce7
|
@ -217,9 +217,7 @@ function canStartConnection(element) {
|
|||
return null;
|
||||
}
|
||||
|
||||
var businessObject = element.businessObject;
|
||||
|
||||
return isAny(businessObject, [
|
||||
return isAny(element, [
|
||||
'bpmn:FlowNode',
|
||||
'bpmn:InteractionNode',
|
||||
'bpmn:DataObjectReference',
|
||||
|
|
Loading…
Reference in New Issue