diff --git a/src/structure/viewer.ts b/src/structure/viewer.ts index 8ed2de1ad..6b67c6e6d 100644 --- a/src/structure/viewer.ts +++ b/src/structure/viewer.ts @@ -1112,7 +1112,7 @@ export class MoleculeViewer { // color function for atoms const colorfunc = this._colorFunction(); - let atomspec: $3Dmol.AtomSpec = {}; + const atomspec: $3Dmol.AtomSpec = {}; for (const shape of active_shapes) { if (shape === '') {