style(rules): remove unneeded unwrapping

This commit is contained in:
Nico Rehwaldt 2018-11-21 09:37:38 +01:00
parent 19491aa3fd
commit 9240971ce7
1 changed files with 1 additions and 3 deletions

View File

@ -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',