Skip to content

Commit

Permalink
Re-enable CV transitions
Browse files Browse the repository at this point in the history
  • Loading branch information
N2D4 committed Nov 3, 2023
1 parent 9bef124 commit f78dd54
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -548,7 +548,7 @@ <h1>...and there's always more!</h1>

<script>
'use strict';
const enableTransitions = false;
const enableTransitions = true;
let lastSelected = 1;
let interval;

Expand All @@ -574,7 +574,7 @@ <h1>...and there's always more!</h1>
}

slplus(1, true);
}, 12000);
}, 7000);
document.querySelectorAll('.slideshow-controls > label').forEach(a => a.addEventListener('click', () => {
clearInterval(interval);
lastSelected = [...a.parentNode.children].indexOf(a) + 1;
Expand Down

0 comments on commit f78dd54

Please sign in to comment.