aboutsummaryrefslogtreecommitdiff
path: root/js/home.js
diff options
context:
space:
mode:
authorMinteck <contact@minteck.org>2021-12-05 16:38:49 +0100
committerMinteck <contact@minteck.org>2021-12-05 16:38:49 +0100
commit879a6237b186768356f99caf992f0d25d5ec8612 (patch)
tree733aacd4845e918b484d8f46951d925f05f91b4c /js/home.js
parent4bad8bcfb984cf017495b8fd31f174c32cebe805 (diff)
downloadcore-879a6237b186768356f99caf992f0d25d5ec8612.tar.gz
core-879a6237b186768356f99caf992f0d25d5ec8612.tar.bz2
core-879a6237b186768356f99caf992f0d25d5ec8612.zip
Commit
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