From c8e23adc5da74362f5e8f3f22cf43ca8642c72dd Mon Sep 17 00:00:00 2001 From: Set Hallstrom Date: Wed, 4 Nov 2020 17:34:00 +0100 Subject: [PATCH] remove redundant timer --- radio.html | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/radio.html b/radio.html index b5e1112..23a1b1b 100644 --- a/radio.html +++ b/radio.html @@ -54,7 +54,6 @@ layout: default href='https://radio.basspistol.com/radio.mp3.m3u'>click here

-

Bellow is the list of all the generous artists making this radio possible. Some of them simply have no crib on the internet. If you know that they now have a URL, if you somehow find a missing name or if you are featured on this @@ -100,7 +99,7 @@ layout: default

@@ -151,14 +150,4 @@ layout: default pauseButton.innerHTML = "Resume"; }); - mu.addEventListener('timeupdate', function () { - var timestamp = Math.floor(mu.currentTime); - var hours = Math.floor(timestamp / 60 / 60); - var minutes = Math.floor(timestamp / 60) - (hours * 60); - var seconds = timestamp % 60; - var formatted = hours.toString().padStart(2, '0') + ':' + minutes.toString().padStart(2, '0') + ':' + seconds.toString().padStart(2, '0'); - var thecurrentSpan = document.getElementById("tracktime"); - thecurrentSpan.innerHTML = formatted; - }); - \ No newline at end of file