diff options
| author | stonedDiscord <Tukz@gmx.de> | 2022-03-11 12:46:07 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-03-11 12:46:07 +0100 |
| commit | 4b918084e413933cfc819bd1a1246c6a1ac13e31 (patch) | |
| tree | d01a1ef9c4818336fd82330855e09a74824a5fa7 /webAO/dom/changeShoutVolume.js | |
| parent | 6dd1b296c2dd1d7462dd8514dff43db59ac8dd19 (diff) | |
| parent | 20424a76b00b303a94921a1b3c5fec6495471f0c (diff) | |
Merge pull request #101 from caleb-mabry/remove-unused-code
Magnum Opus Pt1
Diffstat (limited to 'webAO/dom/changeShoutVolume.js')
| -rw-r--r-- | webAO/dom/changeShoutVolume.js | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/webAO/dom/changeShoutVolume.js b/webAO/dom/changeShoutVolume.js new file mode 100644 index 0000000..db67e2d --- /dev/null +++ b/webAO/dom/changeShoutVolume.js @@ -0,0 +1,10 @@ +import setCookie from '../utils/setCookie'; + +/** + * Triggered by the shout volume slider. + */ + +export function changeShoutVolume() { + setCookie('shoutVolume', document.getElementById('client_shoutaudio').volume); +} +window.changeShoutVolume = changeShoutVolume; |
