Procházet zdrojové kódy

Fixed StructureElement.Loci.toScriptExpression

David Sehnal před 5 roky
rodič
revize
aaa8215a6d
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      src/mol-model/structure/structure/element.ts

+ 1 - 1
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])
             });
         }