Skip to content

Commit 588da6b

Browse files
Update src/looper.js
Co-authored-by: Jason Sigal <[email protected]>
1 parent a5afe2c commit 588da6b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/looper.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -392,7 +392,9 @@ class Score {
392392
var thisScore = this;
393393
for (var i in arguments) {
394394
this.parts[i] = arguments[i];
395-
if (i > 0) this.parts[i - 1].nextPart = this.parts[i];
395+
if (i > 0) {
396+
this.parts[i - 1].nextPart = this.parts[i];
397+
}
396398
this.parts[i].onended = function () {
397399
thisScore.resetPart(i);
398400
playNextPart(thisScore);

0 commit comments

Comments
 (0)