ProCreations commited on
Commit
7da29d0
·
verified ·
1 Parent(s): f141dcb

Remove trainStep override, clean up walkthrough code

Browse files
Files changed (1) hide show
  1. index.html +0 -11
index.html CHANGED
@@ -2702,17 +2702,6 @@
2702
  document.getElementById('walkthroughPrev').addEventListener('click', prevWalkthroughStep);
2703
  document.getElementById('walkthroughSkip').addEventListener('click', exitWalkthrough);
2704
 
2705
- // Override training speed when in walkthrough mode
2706
- const originalTrainStep = trainStep;
2707
- trainStep = function() {
2708
- originalTrainStep();
2709
-
2710
- if (walkthroughActive && isTraining) {
2711
- clearInterval(trainInterval);
2712
- trainInterval = setInterval(trainStep, walkthroughTrainingSpeed);
2713
- }
2714
- };
2715
-
2716
  // Initialize
2717
  startAnimation();
2718
  </script>
 
2702
  document.getElementById('walkthroughPrev').addEventListener('click', prevWalkthroughStep);
2703
  document.getElementById('walkthroughSkip').addEventListener('click', exitWalkthrough);
2704
 
 
 
 
 
 
 
 
 
 
 
 
2705
  // Initialize
2706
  startAnimation();
2707
  </script>