aboutsummaryrefslogtreecommitdiff
path: root/webAO
diff options
context:
space:
mode:
Diffstat (limited to 'webAO')
-rw-r--r--webAO/client.js10
1 files changed, 10 insertions, 0 deletions
diff --git a/webAO/client.js b/webAO/client.js
index 938c566..4f3d4fc 100644
--- a/webAO/client.js
+++ b/webAO/client.js
@@ -418,6 +418,8 @@ class Client extends EventEmitter {
changeSFXVolume();
document.getElementById("client_shoutaudio").volume = getCookie("shoutVolume") || 1;
changeShoutVolume();
+ document.getElementById("client_testimonyaudio").volume = getCookie("testimonyVolume") || 1;
+ changeTestimonyVolume();
document.getElementById("client_bvolume").value = getCookie("blipVolume") || 1;
changeBlipVolume();
@@ -2183,6 +2185,14 @@ export function changeShoutVolume() {
window.changeShoutVolume = changeShoutVolume;
/**
+ * Triggered by the testimony volume slider.
+ */
+export function changeTestimonyVolume() {
+ setCookie("testimonyVolume", document.getElementById("client_testimonyaudio").volume);
+}
+window.changeTestimonyVolume = changeTestimonyVolume;
+
+/**
* Triggered by the blip volume slider.
*/
export function changeBlipVolume() {