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.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.
*/