aboutsummaryrefslogtreecommitdiff
path: root/js/home.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/home.js')
-rw-r--r--js/home.js22
1 files changed, 11 insertions, 11 deletions
diff --git a/js/home.js b/js/home.js
index 7751ae9..d875860 100644
--- a/js/home.js
+++ b/js/home.js
@@ -1,12 +1,12 @@
-setInterval(() => {
- window.fetch("/app/radio/song.php").then((raw) => {
- raw.text().then((text) => {
- document.getElementById('radio-now').innerText = text;
- })
- })
- window.fetch("/app/radio/next.php").then((raw) => {
- raw.text().then((text) => {
- document.getElementById('radio-next').innerText = text;
- })
- })
+setInterval(() => {
+ window.fetch("/app/radio/song.php").then((raw) => {
+ raw.text().then((text) => {
+ document.getElementById('radio-now').innerText = text;
+ })
+ })
+ window.fetch("/app/radio/next.php").then((raw) => {
+ raw.text().then((text) => {
+ document.getElementById('radio-next').innerText = text;
+ })
+ })
}, 2000) \ No newline at end of file