diff options
| author | stonedDiscord <Tukz@gmx.de> | 2022-03-26 16:34:33 +0100 |
|---|---|---|
| committer | stonedDiscord <Tukz@gmx.de> | 2022-03-26 16:34:33 +0100 |
| commit | e1cb9e4b204f57d6313a359566b908e90611ab1a (patch) | |
| tree | f11b0183794bdee3825416ea718f4fe6c005a1b8 /webAO/dom | |
| parent | ead34962de9d2b3ed7fa1506bb800518a2217128 (diff) | |
hello typescript my old friend
Diffstat (limited to 'webAO/dom')
| -rw-r--r-- | webAO/dom/changeVolume.js | 8 |
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. */ |
