aboutsummaryrefslogtreecommitdiff
path: root/webAO/dom/changeVolume.js
diff options
context:
space:
mode:
authorstonedDiscord <Tukz@gmx.de>2022-03-26 16:34:33 +0100
committerstonedDiscord <Tukz@gmx.de>2022-03-26 16:34:33 +0100
commite1cb9e4b204f57d6313a359566b908e90611ab1a (patch)
treef11b0183794bdee3825416ea718f4fe6c005a1b8 /webAO/dom/changeVolume.js
parentead34962de9d2b3ed7fa1506bb800518a2217128 (diff)
hello typescript my old friend
Diffstat (limited to 'webAO/dom/changeVolume.js')
-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.
*/