Use let instead of var like a normal person

This commit is contained in:
Filip Rojek 2025-03-12 22:59:37 +01:00
parent 4ac0dff7a3
commit 9498530db8

View File

@ -2,8 +2,8 @@ const controls = document.querySelector(".controls");
const song = document.querySelector("iframe.song").contentWindow;
// Autoscroll
var scroll;
var scrollTimeout = 60;
let scroll;
let scrollTimeout = 60;
const minTimeout = 10;
const maxTimeout = 120;
const scrollIncrement = 20;