Skip to content

Commit 14a5a6a

Browse files
committed
Fixed multi-composite loading
1 parent 2ca14b8 commit 14a5a6a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

js/composite_loader.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ const compositeLoader = class {
5858
reader.onload = function() {
5959
try {
6060
const {composites: multiCompositeData, ids} = self.parseMultiComposite(reader.result);
61-
for (const id in ids) {
61+
for (const id of ids) {
6262
if (self.referenceCounter[id] > 0) {
6363
if (!confirm(id + " already loaded. Overwrite?")) {
6464
self.referenceCounter[id]++;

0 commit comments

Comments
 (0)