aboutsummaryrefslogtreecommitdiff
path: root/webAO/dom/changeVolume.js
diff options
context:
space:
mode:
authorstonedDiscord <Tukz@gmx.de>2022-03-26 16:56:34 +0100
committerGitHub <noreply@github.com>2022-03-26 16:56:34 +0100
commitb115584ac05fac697f43df30d22808e93ac7e17b (patch)
tree7034dfde1bcb2ed049666ae3bf43f102d0e8a806 /webAO/dom/changeVolume.js
parentead34962de9d2b3ed7fa1506bb800518a2217128 (diff)
parent80c134e0f0f018225dcad4d35c6eba0d530ba595 (diff)
Merge pull request #133 from AttorneyOnline/tsrework
Typescript client.js
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.
*/