aboutsummaryrefslogtreecommitdiff
path: root/webAO/dom
diff options
context:
space:
mode:
authorstonedDiscord <Tukz@gmx.de>2022-03-28 23:41:56 +0200
committerstonedDiscord <Tukz@gmx.de>2022-03-28 23:41:56 +0200
commit903a13ff5b5beaaf42b4fcf8965eb55b642e1d2a (patch)
tree7e7cbf09c1ce6d2539bb2f33a9c3c86f19ce9d48 /webAO/dom
parent06ee582c4adefdb35220c63ee4a30444474e9388 (diff)
parentd3911aa9ad6bc16c70355fe11d1377d636b14565 (diff)
Merge branch 'master' into coolloading
Diffstat (limited to 'webAO/dom')
-rw-r--r--webAO/dom/changeVolume.js8
1 files changed, 8 insertions, 0 deletions
diff --git a/webAO/dom/changeVolume.js b/webAO/dom/changeVolume.js
index 4ef3027..0f7d47e 100644
--- a/webAO/dom/changeVolume.js
+++ b/webAO/dom/changeVolume.js
@@ -10,6 +10,14 @@ export function changeSFXVolume() {
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.
*/