aboutsummaryrefslogtreecommitdiff
path: root/webAO/dom/changeVolume.js
diff options
context:
space:
mode:
authorstonedDiscord <Tukz@gmx.de>2025-06-26 18:37:43 +0200
committerstonedDiscord <Tukz@gmx.de>2025-06-26 18:37:43 +0200
commit970341acbc3a8f3ff8b36d54b3ca383f539c815b (patch)
treed01548679aeccd0c62b28c9396ec040c837ba350 /webAO/dom/changeVolume.js
parent774ae2255f71f8939b365796f703579e1ee245af (diff)
convert vol to ts
Diffstat (limited to 'webAO/dom/changeVolume.js')
-rw-r--r--webAO/dom/changeVolume.js30
1 files changed, 0 insertions, 30 deletions
diff --git a/webAO/dom/changeVolume.js b/webAO/dom/changeVolume.js
deleted file mode 100644
index bae82d2..0000000
--- a/webAO/dom/changeVolume.js
+++ /dev/null
@@ -1,30 +0,0 @@
-import setCookie from "../utils/setCookie.ts";
-
-/**
- * Triggered by the sound effect volume slider.
- */
-
-export function changeSFXVolume() {
- setCookie("sfxVolume", document.getElementById("client_sfxaudio").volume);
-}
-window.changeSFXVolume = changeSFXVolume;
-
-/**
- * Triggered by the testimony volume slider.
- */
-export function changeTestimonyVolume() {
- setCookie(
- "testimonyVolume",
- document.getElementById("client_testimonyaudio").volume,
- );
-}
-window.changeTestimonyVolume = changeTestimonyVolume;
-
-/**
- * Triggered by the shout volume slider.
- */
-
-export function changeShoutVolume() {
- setCookie("shoutVolume", document.getElementById("client_shoutaudio").volume);
-}
-window.changeShoutVolume = changeShoutVolume;