aboutsummaryrefslogtreecommitdiff
path: root/src/js/utils.js
diff options
context:
space:
mode:
authorkaotisk <kaotisk@arching-kaos.org>2024-09-09 18:40:49 +0300
committerkaotisk <kaotisk@arching-kaos.org>2024-09-09 18:40:49 +0300
commita46f5e14fe069841c00003b74703f39eb04e658b (patch)
treed2ee7c735185c090059f0a98bb1f4b3b94498ee2 /src/js/utils.js
parent4f35b67261e2f8401d952dee6b5db58bbf3c7cc5 (diff)
downloadarching-kaos-web-ui-a46f5e14fe069841c00003b74703f39eb04e658b.tar.gz
arching-kaos-web-ui-a46f5e14fe069841c00003b74703f39eb04e658b.tar.bz2
arching-kaos-web-ui-a46f5e14fe069841c00003b74703f39eb04e658b.zip
Update button for the chat-iframe
Diffstat (limited to 'src/js/utils.js')
-rw-r--r--src/js/utils.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/js/utils.js b/src/js/utils.js
new file mode 100644
index 0000000..be726fc
--- /dev/null
+++ b/src/js/utils.js
@@ -0,0 +1,4 @@
+function refreshChat()
+{
+ document.querySelector('#chat-iframe').src = 'https://irc.arching-kaos.net';
+}