aboutsummaryrefslogtreecommitdiff
path: root/webAO/dom/changeVolume.js
diff options
context:
space:
mode:
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;