Skip to content

Commit 5502360

Browse files
committed
bam
1 parent 9da6fe9 commit 5502360

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎v3/js/opt-live.js‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -330,7 +330,6 @@ function optliveFinishSuccessfulExecution() {
330330
);
331331

332332
$('#executionSlider').slider('value', myVisualizer.curInstr); // update slider
333-
disableRowScrolling = false; // hacky global
334333
}
335334

336335
// a syntax-/compile-time error, rather than a runtime error
@@ -448,8 +447,9 @@ function optliveExecuteCodeAndCreateViz(codeToExec,
448447
handleSuccessFunc();
449448
}
450449

450+
// run this all at the VERY END after all the dust has settled
451451
doneExecutingCode(); // rain or shine, we're done executing!
452-
// run this at the VERY END after all the dust has settled
452+
disableRowScrolling = false;
453453
}
454454

455455
clearFrontendError();

0 commit comments

Comments
 (0)