aboutsummaryrefslogtreecommitdiff
path: root/src/js/utils.js
diff options
context:
space:
mode:
authorkaotisk <kaotisk@arching-kaos.org>2024-11-11 04:31:53 +0200
committerkaotisk <kaotisk@arching-kaos.org>2024-11-11 04:31:53 +0200
commit8c8ae9cce8c0f992fe6701a203a55870772808d8 (patch)
treed8b157f5ac42995f1dbd6b5ae5bd1ed65a5df748 /src/js/utils.js
parent6218656716dafccbdd8fb905d027471dfaf046db (diff)
downloadarching-kaos-web-ui-8c8ae9cce8c0f992fe6701a203a55870772808d8.tar.gz
arching-kaos-web-ui-8c8ae9cce8c0f992fe6701a203a55870772808d8.tar.bz2
arching-kaos-web-ui-8c8ae9cce8c0f992fe6701a203a55870772808d8.zip
Added Radio
Diffstat (limited to 'src/js/utils.js')
-rw-r--r--src/js/utils.js13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/js/utils.js b/src/js/utils.js
index be726fc..c59936b 100644
--- a/src/js/utils.js
+++ b/src/js/utils.js
@@ -1,4 +1,17 @@
+/* Arching Kaos Utils
+ *
+ * Kaotisk Hund - 2024
+ *
+ * @license magnet:?xt=urn:btih:0b31508aeb0634b347b8270c7bee4d411b5d4109&dn=agpl-3.0.txt AGPL v3.0
+ *
+ */
function refreshChat()
{
document.querySelector('#chat-iframe').src = 'https://irc.arching-kaos.net';
}
+
+function refreshRadio()
+{
+ document.querySelector('#chat-iframe').src = 'https://radio.arching-kaos.com';
+}
+// @license-end