diff --git a/src/mol-model/structure/structure/element.ts b/src/mol-model/structure/structure/element.ts index 2630573e46291f6f11c7ddc05807f52c2afdff48..ab0abf5b3e44693da4da318b1f5faaa2d1a047a4 100644 --- a/src/mol-model/structure/structure/element.ts +++ b/src/mol-model/structure/structure/element.ts @@ -385,7 +385,7 @@ namespace StructureElement { } return MS.struct.generator.atomGroups({ - 'atom-test': tests.length > 1 ? MS.core.logic.or.apply(null, tests) : tests[0], + 'atom-test': tests.length > 1 ? MS.core.logic.or(tests) : tests[0], 'chain-test': MS.core.rel.eq([MS.struct.atomProperty.core.operatorName(), opName]) }); }