add innerHTML lol :3

This commit is contained in:
Ashley 2023-12-07 15:43:45 +00:00
parent f181b45066
commit 8d77c5eb32

View file

@ -247,7 +247,7 @@ fetchUrls(urls);
var currentSpeed = video.playbackRate;
var newSpeed = getNextSpeed(currentSpeed);
video.playbackRate = newSpeed;
speedOption.textContent = "Speed: " + newSpeed.toFixed(2) + "x";
speedOption.innerHTML = "<i class='fa-light fa-gauge'></i> Speed: " + newSpeed.toFixed(2) + "x";
});
function getNextSpeed(currentSpeed) {